- Hands-On Design Patterns with Kotlin
- Alexey Soshin
- 63字
- 2021-06-25 20:49:29
Builder
Sometimes, our objects are very simple, and have only one constructor, be it an empty or non-empty one. But sometimes, their creation is very complex, and based on a lot of parameters. We've seen one pattern already that provides a better constructor—the Static Factory Method design pattern. Now, we'll discuss Builder design pattern, which is somewhat similar and somewhat different.
推薦閱讀
- Building a RESTful Web Service with Spring
- Learning AWS Lumberyard Game Development
- 云原生Spring實戰
- C語言程序設計
- Visual C++數字圖像處理技術詳解
- Mathematica Data Analysis
- Python機器學習:預測分析核心算法
- Python+Tableau數據可視化之美
- Python Automation Cookbook
- Learning Apache Thrift
- Python Django Web從入門到項目實戰(視頻版)
- C++ Data Structures and Algorithm Design Principles
- Pandas入門與實戰應用:基于Python的數據分析與處理
- Switching to Angular 2
- Delphi Cookbook