Beware of Functional Programming in Java!

This isn't going to be a rant about functional programming, which is awesome. This is a warning about some practices that you are very likely going to apply to your code, which are terribly wrong!. Higher order functions are essential to functional programming, and thus, talking about them will help you be the center of … Continue reading Beware of Functional Programming in Java!

Top 5 Use-Cases For Nested Types

There has been an interesting discussion on reddit, the other day Static Inner Classes. When is it too much? First, let's review a little bit of basic historic Java knowledge. Java-the-language offers four levels of nesting classes, and by "Java-the-language", I mean that these constructs are mere "syntax sugar". They don't exist in the JVM, … Continue reading Top 5 Use-Cases For Nested Types