A programmers dricking song

If you are having a party with your geek friends then the following little song by Jack Gannsle might be something for you… 100 little bugs in the code, 100 bugs in the code, Fix one bug, compile it again, 101 little bugs in the code. 101 little bugs in the code….. (Repeat until BUGS […]

Unit testing your WordPress themes and plugins

WP tuts has created an interesting three part tutorial on how to use test driven development when writing themes and plugins for WordPress. The first part introduces the concept of unit testing and it explains what is needed to be able to write unit tests for WordPress. The second part continues by introducing how to write a testable plugin […]

Designing and testing embedded systems

Having worked with both C and embedded systems for a major of my professional time I have always found it interesting to apply different software development methodologies and practices in an embedded environment. One such practice is test driven development (a.k.a. tdd). Often, I’ve heard the excuse that various ideas can not be applied to […]

The solid principles as one liners

SOLID is an acronym which stands for Single responsibility principle – every software entity (object, module etc) should have only a single responsibility and one reason to change. Open/closed principle – every software entity should be open for extension, but closed for modification. Liskov substitution principle – closely related to design by contract and it […]