Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trismegiste/you-are-not-solid-when
Some examples of bad practices against SOLID principles
https://github.com/trismegiste/you-are-not-solid-when
Last synced: about 1 month ago
JSON representation
Some examples of bad practices against SOLID principles
- Host: GitHub
- URL: https://github.com/trismegiste/you-are-not-solid-when
- Owner: Trismegiste
- Created: 2013-08-22T12:21:54.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-09-07T22:11:19.000Z (over 10 years ago)
- Last Synced: 2023-03-15T19:06:18.586Z (almost 2 years ago)
- Homepage: https://github.com/Trismegiste/you-are-not-solid-when/blob/master/README.md
- Size: 426 KB
- Stars: 7
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# You are not [SOLID][1] when...
Hay, here are some examples of anti-patterns concerning the SOLID principles.
Documentations about SOLID could be very boring because sometimes too abstract.
In this repo, I'll give you some (real-life or not) samples of what **not** to do.
Now you know it is time for a meme picture :smile:
![dash](./dash.jpg)
## Five principles
* [Liskov substitution principle][3]
* [Interface segregation principle][4]
* [Single responsibility principle][5]
* [Dependency inversion principle][6]
* [Open/closed principle][7]## Self promotion
I have made an analysis tool named [Mondrian][9] to find some problems with
SOLID (and Demeter's Law) and help to refactor coupled code.[1]: http://en.wikipedia.org/wiki/SOLID_(object-oriented_design)
[3]: ./LSP/README.md
[4]: ./ISP/README.md
[5]: ./SRP/README.md
[6]: ./DIP/README.md
[7]: ./OCP/README.md
[9]: https://github.com/Trismegiste/Mondrian