-
Core Java
Builders and Manipulators
Here is a simple principle for naming methods in OOP, which I’m trying to follow in my code: it’s a…
Read More » -
Software Development
What’s Wrong With Global Variables?
Only lazy people haven’t written already about how global variables are evil. It started in 1973 when W. Wulf et al.…
Read More » -
Software Development
Object Validation: to Defer or Not?
I said earlier that constructors must be code-free and do nothing aside from attribute initialization. Since then, the most frequently…
Read More » -
Software Development
One More Recipe Against NULL
You know what NULL is, right? It’s evil. In OOP, your method can return NULL, it can accept NULL as…
Read More » -
Software Development
The Right Way to Report a Bug
You know, at Zerocracy, either you are a programmer or a tester, and we pay for each bug you find…
Read More » -
Software Development
How to Be Lazy and Stay Calm
What frustrates me most in my profession of software development is the regular necessity to understand large problem scopes before…
Read More » -
Software Development
Nine Steps of Learning by Refactoring
I was asked on Twitter recently how is it possible to refactor if one doesn’t understand how the code works.…
Read More » -
Core Java
How I Test My Java Classes for Thread-Safety
I touched on this problem in one of my recent webinars, now it’s time to explain it in writing. Thread-safety…
Read More » -
Core Java
Fluent Interfaces Are Bad for Maintainability
Fluent interface, first coined as a term by Martin Fowler, is a very convenient way of communicating with objects in…
Read More »