Sunday, June 05, 2005

Smaller objects

We're getting rid of a bunch of the visitors in one part of our code. It is interesting to see how a pattern that is extremely useful and concise in an early stage of a project can become a lead weight around your neck later in the project.

Additionally, the FIT test are also coming into play as we make these deeper refactorings. They point out change that our functional test are missing. The integration of FIT throws up automated warning bells as our refactoring has unexpected side effects. Generally, fixing these mistakes are relatively easy, since our functional tests catch the big errors.

Finally, the code is becoming more distributed among the object, responsibilities shifted to the people who control the data. All in all, its fun to do and eliminates hundresd of lines of complex code.

0 Comments:

Post a Comment

<< Home