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

Rules of coding

what rules should I follow to become a good programmer?

3rd May 2018, 12:01 PM
Programmer Gaurav
Programmer Gaurav - avatar
3 Answers
+ 5
the #1 advice i would give is : write clean code! and #2: comment your code! it will not only help others to read your code, but şt will help you too if you go back to your code agter years.
3rd May 2018, 12:04 PM
storm
storm - avatar
+ 4
storm I can stress this enough. Make your code readable. If you write sloppy code without any comments or documentation it will be hard for other and yourself to read later on. It might seem weird, but if you go back to some code you wrote a little while ago it will take forever to figure out what is does and how it works.
3rd May 2018, 4:37 PM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
+ 2
sql_assassin You can't create code without bugs. It's virtually impossible to get it right the first time.
4th May 2018, 8:22 PM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar