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.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Design Principles

  • Marco Gähler

摘要

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.