+ 2

How to write beutiful code

Maybe my cuestion is fool bad or no organized but still im asking you my sololearn friends and my question is "HOW tO WrITe BEUTIFUL Code" for batter geting knowlage cuz step by step you need to write more codes , and make the code even little bit "clear" for people who jast know English and his logic is good. (You can send my even your codes here to make exemple in any language (but try in if you know this language C++))

28th Jun 2020, 5:14 PM
Buneodbek
Buneodbek - avatar
5 Answers
+ 1
Writing beautiful codes is obviously not a foolish thing. It is a must in some purposes. Even many people lose their jobs for the lack of proper indentation. Just follow the rules of python. 4 whitespaces for each block and you will get a beautiful code. And also try not to write long comments inside a code. Probably this makes the code a boring stuff. But please consider writing a short explanation by commenting along with the code.
29th Jun 2020, 8:31 AM
Mahdee Mohammad
Mahdee Mohammad - avatar
+ 1
Thank you
29th Jun 2020, 8:34 AM
Buneodbek
Buneodbek - avatar