The SOLID principles have been created as pillars of creating flexible, understandable and maintainable code. They can add days onto your dev time to implement them properly, and most people don’t care or worry much about code quality, so I created some better ones.

The DILOS principles have been created as strong, secure pillars of architecting terrible code.

I personally have implemented the DILOS principles for creating messy, obfuscated and bloated code. Let’s introduce them:

DILOS stands for:

  • D — Dependency Inversion inverted principle
  • I — Interface bundling principle
  • L — Liskov removal principle
  • O — Open closed principle
  • S — Several responsibilities principle

#dilos #solid-principles #javascript #software-architecture #programming #software-development #design-patterns #coding-standards

Introducing DILOS Principles for JavaScript Code
1.20 GEEK