Field injection is a very popular practice in Dependency Injection frameworks, such as Spring. It has, however, several serious tradeoffs and should be generally avoided.
Archives for May 2016
Telescoping constructor pattern is quite common practice. It has, however, some shortcomings. What are the alternative approaches and when should you use them?
Learning shortcut keys of your favorite IDE can greatly boost your programming productivity. There is a trick to learn IntelliJ IDEA shortcuts quicker than just by memorizing them one by one.
Are you still using @author javadoc tag? Maybe it’s time to reconsider. Let’s discuss why the tag may be actually harmful and why you should stop using it.
Should you explicitly declare serialVersionUID or leave it to be automatically generated?