...
Code Block |
---|
BankAccount account = new BankAccount.Builder(1234L) .withOwner("Marge") .atBranch("Springfield") .openingBalance(100) .atRate(2.5) .build(); |
Anti-Patterns
An anti-pattern is a common response to a recurring problem that is usually ineffective, and sometimes counterproductive.
Telescoping Constructor Pattern
...