Design Principles
摘要
There are several design principles that one should adhere to, with the most renowned being the SOLID principles formulated by Robert C. Martin. The significance of the Single Responsibility Principle (SRP, see p. 13) cannot be overstated. However, for interpreted languages, the relevance of the other principles has diminished considerably. Nevertheless, they remain valuable to understand, particularly if you are working with a compiled language.