File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1- # SOLID Principles in Python
1+ <p align =" center " >
2+ <img src =" assets/banner.png " alt =" SOLID Principles in Python " />
3+ </p >
24
35Learn the five SOLID design principles with small Python examples (** violation** vs ** correct** ) and UML class diagrams.
46
Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ permalink: /
88{: .note }
99> ** Language:** ** English** | [ O'zbek] ({{ site.baseurl }}/uz/)
1010
11+ <p align =" center " >
12+ <img src =" {{ site.baseurl }}/assets/banner.png " alt =" SOLID Principles in Python " />
13+ </p >
14+
1115# SOLID Principles in Python
1216
1317SOLID is an acronym for five design principles introduced by Robert C. Martin (Uncle Bob).
@@ -30,8 +34,8 @@ Each principle is demonstrated with a **violation** (what goes wrong) and a **co
3034Each file is a standalone script. Run any example directly:
3135
3236``` bash
33- python srp /violation.py
34- python srp /correct.py
37+ python 01-single-responsibility /violation.py
38+ python 01-single-responsibility /correct.py
3539```
3640
3741** Requirements:** Python 3.10+, no external dependencies.
You can’t perform that action at this time.
0 commit comments