How to handle Exceptions in Java
In a nutshell, in Java, there are RuntimeExceptions, CheckedExceptions and Errors. 1. Errors are fatal occurrences you can’t handle – like an java.lang.OutOfMemoryError. You should do everything possible to code in such a way that it never happens, however, if it does, there ... Read more »
Getters and Setters are evil
Mosquito Method
Refactoring very dirty, 1000+ lines of procedural legacy code, without underlying unit tests at hand is one of the most dangerous programming activities possible, and as such often it is not touched at all. Today, I would like to introduce ... Read more »
Mikado Method
Recently, I attended a talk about “Mikado Method”. Let me summarize what this is all about. When adding a new feature to an existing code base, you often start with a rough idea and you think everything will be nice ... Read more »