Monthly Archives: August 2017

State your intentions

I recently came across Martin Fowler‘s post about FunctionLength. In that post he stated something about intention versus implementation. Although it might seem a very trivial thing, the impact on code readability is huge! For example, if I want to … Continue reading

Posted in Coding | Leave a comment

Test behaviour, not your implementation

Quite often I see unit tests that seem very interested in a class’s inner workings. This not only misses the point of a unit test, but makes the class harder to refactor, since the corresponding unit test will have to … Continue reading

Posted in Coding | Leave a comment