+ 1

what is clean code ?

Did you hear about clean code?

14th Sep 2020, 1:11 PM
Nadeem Hamdy Mohammad
Nadeem Hamdy Mohammad - avatar
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
14th Sep 2020, 1:34 PM
‎Ashwin Maurya
‎Ashwin Maurya - avatar
+ 6
Clean code means the code that is easier to read and understand
14th Sep 2020, 1:15 PM
TOLUENE
TOLUENE - avatar
+ 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
14th Sep 2020, 1:31 PM
‎Ashwin Maurya
‎Ashwin Maurya - avatar
+ 1
Yea
14th Sep 2020, 1:29 PM
Mikicrep
+ 1
I write dirty code..
14th Sep 2020, 1:32 PM
Mikicrep
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.
14th Sep 2020, 9:03 PM
Nadeem Hamdy Mohammad
Nadeem Hamdy Mohammad - avatar
0
Like a object oriented programming and comments and other things
16th Sep 2020, 12:09 PM
Deep Bag
Deep Bag - avatar