Do you know those books that make you want to grab a computer and start coding – and you only hold off, because there are more interesting things to come?
Those books, that confirm your “I always thought it should be like this” feelings and add a lot of new thoughts and knowledge to that?
Those books you somehow need to tell others about?
This is one of them.
It starts with an overview what Clean Code is and how to achieve it, neglecting not even the simplest things like naming, formatting or comments. I liked the Boys scout rule best which says: “Always check-in the code a little cleaner than you checked it out” (of course, originally it’s about campgrounds). >> more…
Tobi gives us some hints how to improve our ant script (there’s better ant task which we can use). Let’s see.. surely it’s better, let’s introduce it…done! Looks much nicer indeed. Ok, seems like the work is done..but wait, something tells us that we can do even more in this task. There’s still a possibility to insert incorrect data via deprecate constructor. We quickly get rid from it. There’s also some legacy code which I want to delete as well. Like that? No way – says Tobi, this stuff is still used from hidden corners of NG, don’t delete it. Let’s have a look..o-la-la, indeed there is still a lot of strange functionality which I even didn’t know about. It seems to be too diffcult to refactor it this time. >> more…