The Builder pattern - Basic and Hierarchical builders
Learn how Builder design pattern works and what types of you you can start using to enhance readability of your code. You will learn how to generate a code at the compile time, use a Spark Eclipse plugin for some code generating.
Start using Builder pattern with required and optional arguments flawlessly. Read more on comparison against a Finite-state machine principle .
"Some weeks ago, I read the post referenced in a tweet. In short, the article provides two ways to generate the boilerplate code required by the Builder pattern: Lombok, to generate code at compile tim..."