I'm most relaxed and able to concentrate in really comfy environments. Late nights, after everyone else is asleep, I'll throw my headphones on and get to work, and pretty much zen out until 3AM or so. Nice cool-weather days, where I can open up the windows and turn off the a/c make me feel really relaxed as well. I just really hate crammed office environments. That's part of the reason why I just code/design as a side gig on my own time and mostly for my own personal projects and for friends.
My MacBook Pro stays with me most of the time, so for 'where do I find myself coding' the answer is simple: wherever I am. On the train, at home, in the middle of the street... And when is also simple, being a university student I'm free to put down whatever I'm doing and jot down some code for a few minutes when inspiration strikes. It does make for 'interesting' lecture notes that's for sure.
I code and work better when every1 else is asleep, i even wrote an article for TalkPHP at around 6 in the morning, i regretted it later tho, having no sleep then going to work isnt advisable trust me.
Other than that, my minds always thinking of solutions for problems i have, i would use my laptop more (infact im using it now) but its 2000 years old and the battery is nackerd so using it without an electrical point is out of the question, which kind of makes its existence rather obsolete, i really should purchase a new one, but im a northerner (north england) therefore im tight so im holding out for the january sales.
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
I myself code on the fly as well. When I used to go to school (thank God, haven't got any kids yet), I would get out my laptop in the train and script all the way to school. This one time, I missed the train because I was scripting with a friend in the kiosk nearby. Got in trouble for that as well. LIVE FOR PHP.
I am still going to school, so much of my coding is done now at my intern (we call it stage), temporarily work for school. Since I don't have much time, the rest, like my CMS, is simply done at home.
Great to see I am not the only one who codes 2 hours there, 30 min there, 1 hour there etc.