-
Core Java
Java Object Interning
Java stores the string contants appearing in the source code in a pool. In other words when you have a…
Read More » -
Software Development
Logging or debugging
Debugging is lame. You should debug log. If your code is structured you do not need debug logging. These are…
Read More » -
Core Java
Synthetic and bridge methods
If you have ever played with reflection and executed getDeclaredMethods() you may have been surprised. You may get methods that…
Read More » -
Core Java
Design Pattern: Immutable Embedded Builder
Last week I wrote about what makes a pattern anti-pattern. This week I present a design pattern… or wait… perhaps…
Read More » -
Core Java
Design Patterns: Pattern or Anti-Pattern, that is the question
I have recently encountered the wiki page Anti-pattern that has an exhaustive list of anti patterns. Some of them were…
Read More » -
Software Development
Never Test Logging
Technical logging is usually not tested. As commentator write on stack overflow: I practice TDD/BDD pretty religiously and I almost…
Read More » -
Core Java
Use Java annotation deprecated the right way
There is hardly anything more infuriating that seeing a method @Deprecated without a proper documentation. I feel lost. Should I…
Read More »