Good tips Batvink, I agree with all of them.
I think there's so many distractions that are involved we often have to plan a coding session in advance, especially if you have kids or your own place. For example, if I have the house to myself at the weekend (she works most Saturdays and my son goes to visit granny) I'll get up early and get a lot of work done - but working at night can be really distracting, like you look at the clock and it's 11pm and you still haven't done any real work!.
If you listen to music while coding, use your DVD player, not your PC. If your using your PC you get distracted by that, changing songs, looking at visualisations, changing settings and basically wasting time. Burn a CD with about 140 .mp3 songs and stick it in your DVD player, if your DVD player does'nt support .mp3 discs, get one that does (they're like £35). That way you have enough music for a good coding session without having to change CD's every 45 minutes.
I reckon that one of those little mini-fridges are a good idea, keeps you away from the big fridge and all it's tasty distractions.
I'm planning on moving my PC into the airing cupboard (it's just big enough), like I'll get it setup nice so I can basically hide in there and work in peace and quiet! - PC's in living rooms just annoy girlfriends, wives, and mothers because they're noisy and untidy - if you can, get the PC somewhere that you can work on it anytime you want yet work in peace.
If you like eating while working, get some boiled sweets or Wurthers originals or something that lasts for ages, avoid food that you have to think about.
If you simply can't do without playing a game, get hold of a second hand gameboy and tetris, or some retro handheld thingy that requires very little effort to play. I have a little LED Pac-Man game and it's great for quick games, and you can throw it in the corner when your ready to get back to work. I find that PC games take too long to start up and shut down, I also like to minimise the amount of rubbish my PC is doing while I work.
Van-B
The nature of Monkey was irrepressible!.