Archive

Posts Tagged 'code'

PHP Refactoring - Introduction

8 commenti October 29, 2008 Nicholas 8 comments

Refactoring or optimization of existing code.

Too often we as programmers we have to hand-code dirty, poorly written and full of bugs, with the risk that the elimination of an error chain genres other bugs.

There are two solutions:

  • Take a nice white sheet from scratch and plan the application;
  • identify the possibility of dividing the program into independent portions of code and rewrite the latter in order to improve it without making instant changes in macro.

The first case is the one preferred by the individual authors, but unfortunately for incidental needs (budget, timelines put online), the less viable.

Continue reading ...

Tag: , , , Categories: PHP Tags: , , ,