好文共享 - SOLID Principles: Improve Object-Oriented Design in Python
文章& Python 範例: https://realpython.com/solid-principles-python/ SOLID 原則很重要的心法,可以讓你寫出更有組織、更好維護的程式。 SOLID 是由 5 個原則的首字組成的,分別是: Single-Responsibility Principle (SRP) Open-Closed Principle (OCP) Liskov Substitution Principle (LSP) Interface Segregation Principle (ISP) Dependency
Posted on May 19, 2023 by Amo Chen ‐ 1 min read