There are three ways to create new objects in Java programming language: The telescoping constructor (anti)pattern The Javabeans pattern The builder pattern I prefer the builder pattern over the other two methods. Why? Joshua Bloch described the builder pattern and the benefits of using it in Effective Java. He did an excellent job and I […] Read more
Clean Code
FindBugs is a static code analysis tool which identifies problems found from Java code. We can integrate FindBugs into our build process by using the FindBugs Maven plugin. This blog post identifies four typical use cases and describes how we can configure the FindBugs Maven plugin to support each use case. The described use cases […] Read more
Each week I write a blog post which describes what I learned that week. I write these blog posts for two reasons. First, I want to keep track of my personal development and writing regular blog posts is a great way to do it. Second, I want to share my findings with you. I hope […] Read more
Each week I write a blog post which describes what I learned that week. I write these blog posts for two reasons. First, I want to keep track of my personal development and writing regular blog posts is a great way to do it. Second, I want to share my findings with you. I hope […] Read more
Each week I write a blog post which describes what I learned that week. I write these blog posts for two reasons. First, I want to keep track of my personal development and writing regular blog posts is a great way to do it. Second, I want to share my findings with you. I hope […] Read more
I am a "testing fanatic" but I don’t understand test-driven development. Or so I thought. I have read a few books and numerous blog posts about it, and all of them have one major problem: The examples are always too simple. Those examples might be helpful if you write simple text editors or calculators for […] Read more