how to clean coding? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

how to clean coding?

coding alignments after completed projects? pls explain step by step

2nd Mar 2018, 9:03 PM
Aranganathan S
3 Answers
+ 2
This isn't an end all sort of answer but some things to keep in mind that help.. -- Use meaningful and concise names for variables and functions. -- Follow a consistent format of indentation and or blank lines. -- Avoid over modularization of components, in other words don't make classes/functions that aren't absolutely necessary. These are all rules I follow when writing software, and although there are plenty other bits of advice for this I think one of the biggest ones is that whatever style you choose for naming conventions, indentations, etc make sure you're consistent with them throughout your code.
3rd Mar 2018, 12:41 AM
Lewis
Lewis - avatar
+ 2
thank you
3rd Mar 2018, 1:48 AM
Aranganathan S
+ 1
There are many different opinions about what clean code is. For some popular and helpful models, you can really just search in google or YouTube.
2nd Mar 2018, 11:20 PM
Timon Paßlick