From 5d2a4e677e05b0c5e0a8f33bbafbb5dc55acc286 Mon Sep 17 00:00:00 2001 From: Yousri <54667@etu.he2b.be> Date: Mon, 9 May 2022 12:12:37 +0200 Subject: [PATCH] Start- Intro_to_Solid.md --- Intro_to_Solid.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Intro_to_Solid.md diff --git a/Intro_to_Solid.md b/Intro_to_Solid.md new file mode 100644 index 0000000..39d8381 --- /dev/null +++ b/Intro_to_Solid.md @@ -0,0 +1,29 @@ +# Object-Oriented class design + + +## SOLID +SOLID coding is a principle created by Robert C.Martin, he is a famous computer scientist. +SOLID is an acronym for his five conventions of coding. +With their conventions, you can improve the structure of your code, reduce time to implement changes and technical debts, etc. +It is a collection of best practices. +And it was developed through this decades. +Principles of SOLID acronym are: + +* The Single-Responsibility Principle (**SRP**) +* The Open-Closed Principle (**OCP**) +* The Liskov Substitution Principle (**LSP**) +* The Interface Segregation Principle (**ISP**) +* The Dependency inversion Principle (**DIP**) + +The first conventions is **SRP**, that means that all classes of your code must do one thing. +That is an important principle. +That is the best way to work with others people in the same project. +Version control is easier, +You will never have _Merge conflicts_, because other people works in an another operations. +So, he will never have two same things in the code. + + + + + +