What is Clean Code?
Meeting clean code means to comply with some aspects :
- Code is focused : Every object fulfills a single purpose
- is Nonredundant : Complies with DRY rule.
- is pleasant : should be easy to ready and complies with KISS( Keep it Simple, Stupid).
- is easily extended : written with other developers in mind
- has minimal dependencies : Clear divisions make reading the code straightforward and simple.
- hast tests .
- is expressive : has meaningful names that are distinct and express their intentions.
- is well thought out : There are no confusing workarounds in clean code.