Week 19, year 2014
- Final Classes: Open for Extension, Closed for Inheritance - I make all my classes final by default. I even configured the templates in my IDE prefix new classes with ‘final’. I’ve often explained my reasoning to people. A blog post is in order! Clarity of Intent A guiding principle here is Clarity of Intent. Making a machine do what we want is not so hard. The reason we need clean code, is not for the compiler. [Mathias Verraes]