Recently I was wondering which keyword in java is the most used by programmers. Is it final, return, class, or maybe something else? Unluckily I haven’t found any broader statistic on the internet and even on GitHub, I didn’t find that option. I was so curious, that I wrote a simple file crawler and run […]
We all are using private methods in our classes. There are two different ways to use them – one is good and valid while the second one is a hint that something can be wrong with our design.
In the object-oriented world, each developer who wants to live long and prosper should know the SOLID rules. SOLID is just an acronym of basic tips for writing maintainable, readable code. We all know many developers who follow these rules. And we all know many who know them, but don’t use them. And finally, plenty […]
Before Java8 if we wanted to check if something is not null, we had to write crappy null checks. Today we have better alternatives.