What are the most important programming good practices | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

What are the most important programming good practices

23rd Apr 2017, 2:19 AM
GAJENDER TYAGI
GAJENDER TYAGI - avatar
3 Answers
+ 4
One of the best habits you can pick up as a programmer is to comment your code. Another thing to note is that employers want their programmers to be productive but that comes a price of writing messy code. In your free time, try to find as many solutions to a problem as possible. This will build your problem-solving skills and help you identify an inefficient solution to a problem and save you time trying to clean the bad code using a new better approach. There are also some practices that a programming-language specific. What programming languages do you use?
23rd Apr 2017, 2:27 AM
Bill Fosam
Bill Fosam - avatar
+ 3
Make simple games/websites using what you know and enhance it every time you learn something new.
23rd Apr 2017, 2:21 AM
Xander A.
Xander A. - avatar
+ 1
Andre Poupard and Bill Fosam have already explained the importance of comments and mentioned clean and readable code. As far as commenting is concerned: Over the long, don't abuse it to comment out parts of your code. Instead, learn to use a version control system, such as git.
23rd Apr 2017, 6:03 AM
Klaus-Dieter Warzecha
Klaus-Dieter Warzecha - avatar