Writing JavaScript according to SOLID

前端 未结 5 1479
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-29 20:25

Have any one used the SOLID programming principle (or any of it\'s parts) while developing JavaScript?

I\'ve just started up on reading on it but can\'t seem to find any

5条回答
  •  野的像风
    2021-01-29 20:45

    It looks like Derek Greer is attempting to take a stab at this with his article series on SOLID JavaScript at Fresh Brewed Code:

    1. The Single Responsibility Principle
    2. The Open/Closed Principle
    3. The Liskov Substitution Principle
    4. The Interface Segregation Principle
    5. The Dependency Inversion Principle

提交回复
热议问题