Patterns to implement SOLID principles

后端 未结 2 1784
一生所求
一生所求 2021-02-04 16:52

I\'m doing a presentation of SOLID design principles and I\'m trying to connect the Single Responsibility Principle and the Open-Closed principle to design patterns.

Cur

2条回答
  •  别那么骄傲
    2021-02-04 17:38

    I've done the same presentation and I picked out some design patterns to show how they apply the principles.

    I noted that for LSP, all but two design patterns from GOF used substitution.

提交回复
热议问题