I recommend finding a mentor. Someone who writes code that you respect (be it for quality, clarity or efficiency). Start reading their code and asking questions.
The open source community is a good place to start looking if you don't have someone you respect in your own community.