I think it would be a good idea to start a thread listing tips to help make your coding endeavors easier.

Here are mine:
  1. Always comment your code. You might think it's necessary now, but if you have to come back to a section of code weeks or months later you might find yourself thinking what you were trying to accomplish, as it's not fresh in your memory anymore.
  2. I always have the documentation for the coding language I'm using pulled up, it's always handy to research the specifics of a function if you're unclear about it.
  3. In the same vain as #2, I always keep a Google tab open ready to type in a search query related to whatever I'm coding.
  4. If you're absolutely stumped, check out Stack Overflow - It's a great community of coders.