In this article I will be discussing some of my philosophy about clean coding. What is Clean Code? Clean Code is a philosophy that I follow when I code. Actually, to me, it feels more like a religion than a philosophy! I
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
Getters and Setters are Evil Downloads Getters and Setters are Evil (Article) Introduction Since I started programming in Java in 2001, I have read so much about encapsulation. The Internet has become replete with Java a
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 woul
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 and