I guess we're all differnent :)
My fisrt goal is to make it work, and then I make it pretty, but that is a goal on itself as well.
What I found out is that to make it pretty, the way you wrote the code initially, already helps. The better it is written, the better that goes.