Builder
Using builders simplifies the initialization of complex parameters.
Operating principle
The functions offer the possibility of initializing individual values. Parameter-specific methods are provided for this purpose, such as methods for creating a calendar:
The benefits are:
- Self-explanatory notation
- Highly flexible
- Equally applicable in declaration and implementation code
See also:
Examples