Principles
SOLID
Five object-oriented design principles that make code easier to change and test.
Related articles
- Strategy: interchangeable algorithms instead of an if-else ladder
The Strategy pattern through courier assignment in a pierogi place: a family of interchangeable algorithms behind one interface, swapped at runtime. Code in C#, TypeScript, Java, Go and Python.
- Singleton – one instance, and the reasons to hand it to a DI container
Singleton guarantees that a class has exactly one instance available to the whole application. We show thread-safe implementations in five languages and explain why today it is usually better to…
Around the topic
- SOLID: The Liskov Substitution Principle (LSP) in C# article · devto · Aditya
- #02 Nieśmiertelne pytania techniczne. Po co pytamy np. o SOLID czy wzorce projektowe? podcast · apple-podcasts · the:procast
- Adaptive Code Via C Class And Interface Design Design Patterns And Solid Principles book · openlibrary · Gary Hall
- jafari-dev/oop-expert-with-typescript repo · github · jafari-dev
- kshitijmishra23/low-level-design-concepts repo · github · kshitijmishra23
- dyarleniber/simple-blog-application-backend-challenge repo · github · dyarleniber
- kawser2133/clean-structured-project repo · github · kawser2133