I don’t mean your Facebook feed or that news portal full of violence. I mean your books. Including the very ones covering the latest technologies. Including the ones about the most important aspects of your craft. Stop reading them. Throw them away!
If you are into coding dojos and solving katas, you might have already tried the Gilded Rose kata by Emily Bache.
In this kata, you are given some existing code that handles the quality and the number of days before expiration properties of the products in a store. The code handles almost everything in one single huge function. Unsurprisingly, the goal of the kata is to refactor the code. Besides, there is also a new functionality to implement.
If you know Java this might be completely straightforward to you as you are already used to Java’s @Override annotation. If you’ve been always coding in C/C++, this might be new. You might ask yourself the question, why should one put there an extra specifier when it’s not necessary. Your code will just work the very same way.
The subjects covered in this book stand somewhere between the topics of Code Complete and Patterns of Enterprise Application Architecture. Maybe if I wanted to compare it to another book I shall choose Clean Architecture. However, as I don't consider myself an authority to judge, I will not compare them.
I like classic rock music. In fact, I like rock music in general and even though from time to time I listen to some Alice In Chains songs, I had never come by the one called Nutshell. It was The Daily Stoic newsletter which led me to it.
One of my areas for improvement for this year is to learn about software design, software architecture. I keep that in mind when I choose my next books. That’s why I read recently Clean Architecture by Uncle Bob and that’s why I’ve just read Patterns of Enterprise Application Architecture by Martin Fowler.