wenqili / knowtebook

0 stars 0 forks source link

SOLID, KISS, YAGNI #4

Open wenqili opened 5 years ago

wenqili commented 5 years ago

YAGNI - You Aren’t Gonna Need It

We didn’t really need React + Redux + Socket.IO for a screenshot now did we?

KISS - Keep It Simple Stupid

SOLID

S – Single Responsibility Principle

O – Open-Closed Principle

L – Liskov Substitution Principle

I – Interface Segregation Principle

D – Dependency Inversion Principle

TDD – Test Driven Development

  1. Decide on the desired functionality
  2. Create the test for that functionality first. The test fails since no code exists yet.
  3. Write the code that implements the desired functionality. The test now passes.
  4. Repeat.