On NetTuts.com there's a great list of tips and things to keep in mind if you're a budding programmer - a set of common pitfalls to watch out for as you hone your skills.
Regardless of our current skill level, we all were beginners at one point in time. Making classic beginner mistakes comes with the territory. Today, we’ve asked a variety of Nettuts+ staff authors to chime in with their list of pitfalls and solutions - in a variety of languages. Learn from our mistakes; don’t do these things!
- Use Ternary When Appropriate
- Use Guard Clauses
- Keep Methods Maintainable
- Avoid Deep Nesting
- Don’t Overuse Variables
There's also two "extras" thrown in more concerning general programming practices - using methods to represent actions and some basic code readability suggestions.