Archive for January, 2010

Explaining New Code

I just finished up writing an article about How Spark’s Once Attribute Works. This was a lot better of an exercise than I had hoped. I’ve heard of two good practices that this successfully accomplished:

Reading code to help you be a better developer
Teaching somebody to help yourself learn it better

It wasn’t exactly easy trying to [...]

Continue reading »

Code Coverage Metrics

I know code coverage of 100% doesn’t mean that the application is without bugs. I also know that code with zero unit tests can work just fine. I do, however, firmly believe that having automated tests is a must when writing complex software.
You can increase your code coverage several ways:

Writing unit tests to cover code [...]

Continue reading »