Reflection is the ultimate habit.1
Also refer to Matstery Learning.
You have been quoted saying 'you are not a great programmer', but rather a 'good programmer with great habits' What are these great habits?↩