Edward Kmett recently retweeted this list of recommendations from John Carmack on how to be a great programmer:
Rules for being a great programmer
This is a great list to follow for sure.
I also added:
I created the mindmap below for easy reference:
Mindmap of the rules