+ 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++))
5 Respostas
+ 1
Read the regarding code conventions:
https://docs.microsoft.com/de-de/windows/win32/stg/coding-style-conventions?redirectedfrom=MSDN
https://google.github.io/styleguide/cppguide.html
https://www.google.com/url?sa=t&source=web&rct=j&url=http://umich.edu/~eecs381/handouts/C%2B%2B_Coding_Standards.pdf&ved=2ahUKEwiF_J_phaXqAhURi1wKHY4gDA4QFjADegQIAxAB&usg=AOvVaw1zA5qRRNDagmXG6G6w8saZ
+ 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.
+ 1
Thank you