-
Core Java
The Magic Setter Antipattern
Setters and getter are evil. When the JavaBean definition was created it seemed to be a good idea. But they…
Read More » -
Software Development
Quick, Cheap, Quality: choose two
It is old and common wisdom. Even printed on billboard of the mechanics shop where my car is usually repaired.…
Read More » -
Core Java
Using junit for something else
junit != unit test Junit is the Java unit testing framework. We use it for unit testing usually, but many…
Read More » -
Core Java
Default methods and multiple inheritance
Recently Lukas JOOQ Eder posted and article about nested classes and their use. This is an interesting topic and his…
Read More » -
Core Java
Do not unit test bugs
Before getting to the topic of the title let’s have a simple programming sample. On the programming task I will…
Read More » -
Core Java
Calling grandparent methods in Java: you can not
In the article Fine points of protection I detailed how “protected” extends the “package private” access. There I wrote: What…
Read More » -
Core Java
Fine points of protection
In the article Some Sentences about Java I wrote that “Protected methods and fields can be used from classes in…
Read More » -
Software Development
Use copy paste programming!
Copy paste is bad We hate copy paste. Why? Because the result code is unmaintainable. I get a bug reported…
Read More » -
Software Development
Outsourcing, Do It Right
Most of the times outsourcing is a nightmare. Companies outsource the activities that are not their core activity nevertheless needed…
Read More »