in reply to How do you code?
I started off with BASIC which lends itself to a "top-down" approach, but these days I tend towards the XP style.
Because of my job, I can't hang around and wait for the juices to flow, I have a job to do and it needs to be done now! As a result, I tend to try and tackle the task in small sections, get the first bit working and then add the next. Sometimes it can be hard work, other times it comes easy.
While I know that this isn't exactly the XP formula, it's as close as I'm going to get.