- C# 7 and .NET Core 2.0 Blueprints
- Dirk Strauss Jas Rademeyer
- 92字
- 2021-08-27 19:55:27
SOLID design principles
This brings us to another interesting concept in OOP called SOLID design principles. These design principles apply to any OOP design and are intended to make software easier to understand, more flexible, and easily maintainable.
The term SOLID is a mnemonic for:
- Single responsibility principle
- Open/closed principle
- Liskov substitution principle
- Interface segregation principle
- Dependency inversion principle
In this chapter, we will only take a look at the first two principles—the single responsibility principle and the open/closed principle. Let's look at the single responsibility principle next.
推薦閱讀
- Vue 3移動Web開發與性能調優實戰
- ClickHouse性能之巔:從架構設計解讀性能之謎
- Java Web開發學習手冊
- 自己動手實現Lua:虛擬機、編譯器和標準庫
- Java程序設計與計算思維
- 軟件測試技術指南
- Visual C#通用范例開發金典
- Creating Mobile Apps with jQuery Mobile(Second Edition)
- SQL 經典實例
- HTML5秘籍(第2版)
- R用戶Python學習指南:數據科學方法
- Building Business Websites with Squarespace 7(Second Edition)
- JavaScript Concurrency
- Mastering ASP.NET Web API
- Scratch 3.0少兒積木式編程(6~10歲)