You can subscribe to the ood tag micro-feed.

Test-Driven Development and Duplication

I have run a good number of test-driven development coding dojos (and behaviour-driven development ones), and participated in plenty of them too. The most common errors I have found can be classified as: Trying to find abstractions to early Drastic code changes under the banner of “refactoring” Both of these problems are solved by practising […]

Stop Shooting at the Invisible Ghost

Writing clean code is what you must do in order to call yourself a professional. There is no reasonable excuse for doing anything less than your best. So says the title page of Clean Code – before even a foreword or introduction. If you are object-oriented programmer you will have heard of Uncle Bob’s book, […]

Hide Away Your Units

If you have an object in your code, and that object has some kind of measurement, you might well have done this: class Desk { constructor( public width: number, public depth: number, public height: number ) {} } But this will almost certainly lead to some issues… for example, you store your values as centimeters […]