|
|
|
|
|
by logfromblammo
4147 days ago
|
|
If you have ever read about Carrot in Pratchett's Discworld series, you may have a new understanding of laziness. Carrot, you see, is so lazy that he exercises every day, because it is easier to accomplish things in a fit body than in one that is fat and weak. Testing your own code is that sort of laziness. You write automated unit tests so that you will never have to look at or touch that particular bit of code ever again. Having that sort of laziness will also make you an expert in design, because good design allows you to write concise, maintainable code, which makes your job easier. |
|