Possible Duplicate:
Tips for Junior Programmers
What is the best advice you can give a novice/inexperinced programmer, witch would help him the most in the long run of his carrier?
The best advice i've ever recieved was "Make it work, before seriously optimizing it". (Later I found out that he's was inspired by the famours line "Make it work, make it right, make it fast").
The tip is good to solving tasks most efficiently.