+ 1
what is clean code ?
Did you hear about clean code?
7 Respostas
+ 4
Mikicrep
Just try to keep the codes in line during writing the code and add comments where you think it will be helpful for viewers,
If you think to align the code and add comments after writing the code it may be difficult and time consuming
+ 6
Clean code means the code that is easier to read and understand
+ 5
Nadeem Hamdy Mohammad
The codes which are easy to read and understable ,properly aligned and have comments for viewer to understand easily your code
+ 1
Yea
+ 1
I write dirty code..
0
Here is my short answer hahahahah
Characteristics of a Clean code:
1. It should be elegant — Clean code should be pleasing to read. Reading it should make you smile the way a well-crafted music box or well-designed car would.
2. Clean code is focused —Each function, each class, each module exposes a single-minded attitude that remains entirely undistracted, and unpolluted, by the surrounding details.
3. Clean code is taken care of. Someone has taken the time to keep it simple and orderly. They have paid appropriate attention to details. They have cared.
4. Runs all the tests
5. Contains no duplication
6. Minimize the number of entities such as classes, methods, functions, and the like.
0
Like a object oriented programming and comments and other things