An open API service indexing awesome lists of open source software.

https://github.com/falberthen/solid_101

A simple showcase implementing and rendering geometric shapes using all five SOLID principles.
https://github.com/falberthen/solid_101

clean-code net5 solid-principles

Last synced: 5 months ago
JSON representation

A simple showcase implementing and rendering geometric shapes using all five SOLID principles.

Awesome Lists containing this project

README

          

# SOLID 101

`SOLID 101` is a study project using .NET 8.0 and C# to showcase all five SOLID principles.

Check the blog for a detailed walkthrough.





The 5 SOLID principles are:
---
#### S - Single-responsibility principle
> A class should have a single responsibility.

#### O - Open-closed principle
> Classes should be open for extension, but closed for modification.

#### L - Liskov Substitution principle
> If S is a subtype of T, then objects of type T in a program may be replaced with objects of type S without altering any of the desirable properties of that program.

#### I - Interface segregation principle
> Clients should not be forced to depend on methods that they do not use.

#### D - Dependency Inversion principle
> High-level modules should not depend on low-level modules. Both should depend on abstractions.

Abstractions should not depend on details. Details should depend on abstractions.


References:
---

- https://www.educative.io/blog/solid-principles-oop-c-sharp
- https://sites.google.com/site/unclebobconsultingllc/getting-a-solid-start
- https://medium.com/backticks-tildes/the-s-o-l-i-d-principles-in-pictures-b34ce2f1e898