+ 3
What are the most important programming good practices
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?
+ 3
Make simple games/websites using what you know and enhance it every time you learn something new.
+ 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.