Slashdot Mirror


Where's Your Coding Happy Place?

jammag writes "Cranking out code — your very best code — requires being in the optimal environment, muses developer Eric Spiegel. He explores the pitfalls and joys of the usual locales, cubicle, home, the beach. He claims he's done his best coding on an airplane. In the end, though, he suggests that the best environment is a matter of the environment inside yourself, your internal mood — and to hell with the cubicle or wherever. You have to be focused on quality, regardless of the idiot clients. It's all inside your mind. Where's your coding happy place?"

21 of 508 comments (clear)

  1. A matter of the environment? by James+Skarzinskas · · Score: 5, Insightful

    Lightly sweetened breakfast tea, rainy weather outside, window cracked with a brisk morning breeze.

    Oh, yeah, and vim. Emacs can suck it.

    1. Re:A matter of the environment? by DahGhostfacedFiddlah · · Score: 5, Funny

      WRONG.

      Black-as-hell coffee, bright moonlit night outside, but I'm stuffed in a windowless basement with no ventilation, using Emacs.

      On Windows.

      ME.

      Yes, that's how far I'll go to counter one of you VI-loving lunatics.

    2. Re:A matter of the environment? by RemoWilliams84 · · Score: 5, Funny

      WRONG.

      Getting a blowjob with a gun to my head.

      --
      "I don't have to think. I only have to do it. The results are always perfect, but that's old news." - Meat Puppets
    3. Re:A matter of the environment? by Evanisincontrol · · Score: 5, Funny

      Lightly sweetened breakfast tea, rainy weather outside, window cracked with a brisk morning breeze...

      ...John Travolta singing to me, wearing nothing but a thong and a bottle of baby oil...

      What? Oh, sorry, I got lost in your poetry and thought we were describing a romantic evening in San Francisco.

    4. Re:A matter of the environment? by Anonymous Coward · · Score: 5, Funny

      *Giving* a blowjob with a gun to my head.

      Sounds like my last blind date

    5. Re:A matter of the environment? by cjfs · · Score: 5, Funny

      WRONG

      *Giving* a blowjob with a gun to my head.

      RemoWilliams84, meet zarthrag. zarthrag, RemoWilliams84.

      I'll expect the new kernel by Friday.

  2. In My Opinion, a Truly Horrid List by eldavojohn · · Score: 5, Interesting

    Nearly every location on this list is full of distractions. True, I can multitask while the TV is showing something I've seen or do not care about. Unfortunately, if it's a movie out of my Netflix queue, it greatly hampers my progress.

    Some of these places are just plain uncomfortable like public transportation or an airplane.

    Your bed?! The place where you sleep? Seriously? Granted there aren't a lot of places to suggest, this list blows. I'd be swimming if I were near a pool.

    For me the biggest factor is nice studio quality headphones covering my ears producing low volume music. Maybe it's my favorite non-talk radio station (The Current or Radio K) or maybe it's some classical/jazz/rock album I just picked up. My hands and eyes are busy only with the task at hand. An internet connection will help break the monotony for short periods of time and keep me at full operating power. After that, I like to have hot tea, coffee or water at hand to drink and maybe some raw almonds to munch on. A relaxed position and a bathroom within short distance makes for the optimum coding environment.

    Assuming I have no questions about requirements or technology, this is the state I usually like to be in.

    --
    My work here is dung.
    1. Re:In My Opinion, a Truly Horrid List by AuMatar · · Score: 5, Funny

      Perl. That's enough lines per day to rewrite every application in existence. Unfortunately, being perl none of them can be debugged, so he has to redo it again the next day.

      --
      I still have more fans than freaks. WTF is wrong with you people?
  3. Oddly enough... by yorgo · · Score: 5, Interesting

    ...it was while waiting (and waiting, and waiting) to be called to sit on Jury Duty. I sat outside on the smoking patio (middle of summer) near an outlet with my laptop and generated some of the best code of my life. Perhaps I should start volunteering for Jury Duty...

    1. Re:Oddly enough... by Archangel+Michael · · Score: 5, Funny

      I'd Love to serve on a jury. However, I'm afraid I don't qualify to sit on a jury. You see, I'm a A-Hole with a brain.

      So I get the summons, and show up ...

      Judge: "Does anyone here know any of the parties involved in this matter?"

      Me: "Why does it matter?"

      Judge: "Dismissed"

      Me: "I didn't say one way or the other"

      Judge: "I said dismissed"

      Me: "Yes, I heard, I'm just wondering why"

      Judge: "I don't have to tell you"

      Me: "No, but I'm sure all these people here want to know, especially now that I'm bringing their attention to it"

      Judge: "Another word from you and I'll hold you in contempt"

      Me: "How does being on FOX NEWS sound to you?"

      Judge: "Bailiff, remove him please"

      Me: "Don't Taze me bro"

      Bailiff: .... ZAP

      --
      Agent K: A *person* is smart. People are dumb, stupid, panicky animals, and you know it.
  4. In my head while driving. by bigredradio · · Score: 5, Insightful

    Sadly, by the time I get to a computer I often lose some great coding ideas.

  5. For me, it's music, not place. by Dr.+Manhattan · · Score: 5, Insightful

    I need music with no vocals - mostly classical and techno. I have a special playlist called "coding" for those times when I really need to be focused.

    --
    PHEM - party like it's 1997-2003!
    1. Re:For me, it's music, not place. by kevingolding2001 · · Score: 5, Interesting

      And Eno! Lots of Eno.

  6. I thrive on stress by eln · · Score: 5, Funny

    I'm at my most productive at 2am the night before the project is scheduled to go live.

    I'm at my second most productive at 9am the following day while I'm patching the running code on the live system to fix what I didn't have time to test the night before.

  7. Re:On my floor in the family room... by Anonymous Coward · · Score: 5, Funny

    Dang, dad, I am 35. Can't you write your COBOL some other way?

  8. Silence by tritonman · · Score: 5, Insightful

    Anywhere there is silence. I hate trying to think while listening to people blabbing on the phone or BSing with each other across their cubes.

  9. Best Place to Code by Anonymous Coward · · Score: 5, Funny

    Best productivity is in India. Not sure if it's the food or what... but I am 4x as productive as in the US.

  10. Fire alarm? What fire alarm? by PolygamousRanchKid+ · · Score: 5, Interesting

    For me, when I am really seriously coding, I could just about be anywhere; nothing would disturb me. As a matter of fact, a couple a weeks ago a colleague grabbed me on the shoulder at work, while I was hacking away, and said, "We have to get out of here. There's a fire alarm. Didn't you hear the alarm?"

    Um, no, and I wasn't wearing any headgear.

    --
    Schroedinger's Brexit: The UK is both in and out of the EU at the same time!
  11. with my boss... by cbuosi · · Score: 5, Funny

    i love coding with my boss in my shoulder pseudo-auditing my code and constantly reminding me the project schedule...

  12. Not really coding... by immakiku · · Score: 5, Interesting

    I was once designing an algorithm to do something at a lower running time, combining a mixture of data structures and graph theory. I had stayed up almost 22 hours in front of a computer to get it done because I thought I was "almost there".

    Then I fell asleep, jerked awake 4 hours later because I had actually solved it in my dream. When I woke up I realized that the solution in my dream was not complete and that there was a flaw with it. With another hour of modification I finished it up.

  13. Not on topic, but... by Weaselmancer · · Score: 5, Insightful

    at work I'm not allowed to listen to music at all.

    Your employers are douchebags.

    What the crap could it possibly matter if you have an MP3 player stuck in your ears? I'd love to hear somebody actually make a good case for it. If you're a doctor and you have to listen for pages, or a jet pilot who needs to hear audio alarms - fine. But a coder? Give me a break.

    This sort of micro managing "you're still in kindergarten" crap always pisses me right off. It insures an unhappy workplace, and that insures poor results. Who wants to do their very best for someone who treats them like a freaking toddler?

    --
    Weaselmancer
    rediculous.