One does not simply “code for a little bit.” At least I don’t. I generally spend at least a few hours working on a task. Being that coding occupies a good block of time for me, I like to have what I need at the ready.
I generally set up my laptop somewhere with minimal noise (the basement works great). Then, I make sure I have my smaller external hard drive for files I might need. I always make sure to have my phone and earbuds with me. I prefer the phone to the computer so I can walk around without losing my music/train of thought.
As a side note, I can’t hear a lot of words when I’m coding. It distracts me and I start typing hey_jude tags. So, blues, rock, hip hop, bluegrass and This American Life are out of the question. I can only listen to one of two things: electronic music or Chopin. These are two things I didn’t listen to much of before learning to code. Now… they’re basically all I listen to. I’m embarassed to say that yes… Skrillex gets a lot of play when I’m working. Joke if you must.
Lastly, I make sure to have a beverage handy. It depends on what sort of mood I’m in, what the project is and what time of day it is. 9 times out of 10, it’s coffee. However, after 5, if I’m doing something easy or non important… definitely beer. Preferably something from Great Divide… Titan or Colette.
So, how do you guys go about the coding setup?
Depends on which part of the coding I’m at.
In planning I prefer a notepad to sketch out ideas and organize thoughts, with maybe some classical music.
If it’s in the coding phase I have either my beautiful work setup (two screens and a nice desk) or my home setup (laptop and comfy sofa), with music, preferably something in the Sabaton/HammerFall line. Occasionally all the epic rap battles gets played through as well.
I don’t think I have much more ritual than that =)
I do 90% of my work on a laptop, both at work and at home. I usually have three Spaces open on my MBP, one for coding, one for browsing/research/Stack Overflow, and one for music. I keep my phone close to keep an eye on important messages, and I’ve got a good set of in-earbuds for the noise-canceling, as I share an office.
The music I listen to varies, but like Joe_Temp, I can’t do catchy lyrics. My brain’ll start listening to the lyrics more than it’s coding. Lately I’ve found a nice way around it by listening to bands like Corvus Corax and Enya, or even Rammstein—they sing in Norse, Danish, Gaelic and German, so I can’t understand the lyrics, which allows me to let it fade into the background. Of course, Enya will try to put me to sleep, and Rammstein is a bit too rousing for extended periods, so I toss it up a bit with electronica and dubstep.
I do typically have a couple of notepads beside my laptop: one for my ongoing projects list and general notes, and one for that day’s todo list and short jottings. I’m slowly moving toward Evernote for meetings these days, as I usually take a tablet to meetings.
Oh, and snacks. A Starbucks Frappucino in the mornings, and a soda and Cheez-Its in the afternoon. Keeps my blood sugar up and reminds me to stand up and stretch every half-hour or so.
I must have the worse setup here. I have a small desk and a laptop in a corner of the hallway in my house. People are always walking behind me and calling my name when i have my headphones on. So when i hear things that sound remotely like my name, i have to take off the headphones, listen for an extra 5 seconds and make sure no one was calling me. I have a crappy metal chair and use couch cushions to sustain my ass because when i sit there coding for 5 hours, my ass bones hurt. I usually get up every hour to do a little stretching.I babysit during the day, So i spend most of the day coding. I can imagine myself coding at 4am like many of you do, But it feels really weird for me coding that late, And after coding all day i don’t even feel like doing it. I usually play video games or watch movies. Ever since i started to teach myself how to code I’ve been really hooked on it. When i first wake up everyday i brush my teeth, sit in front of my laptop and start coding, then i get up like 2 hours later and eat breakfast. Usually when i reach a problem that i cant fix, i ignore whatever project i’m working on for the entire day and work on something else. Then when i feel like fixing it, i go back to it.
I don’t know why but i almost never listen to English music. I use Pandora and all my stations are of Spanish music, and maybe a little Eminem. I sometimes wonder if listening to music while coding is either good or bad. I think that it can interfere with my thinking and concentration. So sometimes i try spending the entire day not listening to music while i code, but it gets a little boring and i think the music helps me sit there for 5 hours.
Kinda surprises me that everyone seems to keep their phone with them when coding – I shut it off!
– don’t like headphones
– music is great; lyrics don’t bother me at all. I like a range of music: mostly classic rock; but basically anything not-rap, not-country, and not-stupid-pop. I’ve been listening to heavier stuff lately, too (@JoshBlackwood: Rammstien!!!).
– two monitors on my desk (three if you count the “other” computer, but then it’s generally for “other” work); easy to pop my laptop off and work in the living room instead. Tablet is nearby too – I recently got a webserver app for it, so I may be doing more work (testing, at least) there soon.
– the drink is Dr.Pepper (other drinks _exist_?)
– logitech wireless kbs/mice rock
– notebooks/ reference books/ index cards on the bookshelf
My favourite beverage for coding is either coffee with cream, water, or tea (with or without cream depending on what kind of tea).
I use headphones when working at work because my coworkers are disappointingly disapproving of me blaring power metal at full volume, at home it’s through the speakers of the stationary. Lyrics doesn’t bother me at all, partly because I can hum and code at the same time without much issue. If i need to think more I often need to remove all kinds of music, have been thinking about finding something that can drown out other sounds while also not distract me (whale song?).
I wish I was organized and had the index cards/etc. That’s partly why I’ve lately gotten to the point of wanting to splurge on a tablet that can handle me taking notes on it: have everything in one place!
> up north, huh, Doc? @traq
hahaha. Love those maps. I am indeed up north, the Great White North to be precise! Though, that’s a little misleading as we haven’t had any snow here in a couple years. I’m in Victoria on Vancouver Island (across Georgia Straight from Vancouver, just west of Seattle).
lately i’ve been sitting my [drum machine](http://www.davesmithinstruments.com/products/tempest/ “”) in between my keyboard and my monitor and i make beats while i write code. i know im weird, but hey, YOU ASKED!
oh and also, SNACKS!!
You must be logged in to reply to this topic.