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?"

508 comments

  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 Anonymous Coward · · Score: 0

      Never has a comment turned from a dream to a nightmare faster!

    3. Re:A matter of the environment? by elysianblue · · Score: 1

      I'm close to that... coding_performance_level = ((vi + rain + smokes + (coffee | red_bull)) * (time_to_deadline / 100);

    4. 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
    5. Re:A matter of the environment? by Anonymous Coward · · Score: 0

      I also disagree. In underwear, with bowl of captain crunch cereal, at 4am in a haze of smoke so thick that you can barely see the LCD through it, just two steps above half-witted. That's the best coding place. :)

    6. Re:A matter of the environment? by tgd · · Score: 1

      RIGHT.

      Thats what I was going to say.

    7. 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.

    8. Re:A matter of the environment? by zarthrag · · Score: 4, Funny

      WRONG

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

      --
      Why can't all fpga/microcontroller manufacturers just release free optimizing compilers???
    9. Re:A matter of the environment? by Anonymous Coward · · Score: 0

      With YOUR MOM!

    10. Re:A matter of the environment? by fataugie · · Score: 0

      Isn't it hard to type that way?

      --

      WTF? Over?

    11. 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

    12. Re:A matter of the environment? by jolierrr · · Score: 1

      Completely agree. With every word except for tea

    13. Re:A matter of the environment? by Anonymous Coward · · Score: 0

      Good movie...

    14. Re:A matter of the environment? by Chris+Burke · · Score: 4, Funny

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

      What, like, as a hat?

      --

      The enemies of Democracy are
    15. Re:A matter of the environment? by Lillesvin · · Score: 4, Funny

      Make that:
      coding_performance_level = (vi + smokes + (coffee | mountain_dew)) * (100 / hours_to_deadline);
      and you got a deal. ;-) And yes, the inverted division is on purpose. (Btw, you've got one too many opening brackets - or one too few closing brackets depending on how you look at it.)

      --
      "Live free or don't."
    16. Re:A matter of the environment? by edittard · · Score: 2, Insightful

      bright moonlit night outside, but I'm stuffed in a windowless basement

      Perhaps my neck elevation angle is insufficient, but if I was in a windowless basement how would I know what the lunar illumination situation was?

      --
      At the bottom of the /. main page it says 'Yesterday's News'. Well they got that right.
    17. Re:A matter of the environment? by iMac+Were · · Score: 0

      On his hat, or rather his helmet, sweetie. XXX.

      --
      You thought my name meant what? How very dare you!
    18. Re:A matter of the environment? by Ortega-Starfire · · Score: 2, Funny

      >Perhaps my neck elevation angle is insufficient, but if I was in a windowless basement how would I know what the lunar illumination situation was?

      You add it to your google homepage. Which on windows ME should also be set to your active desktop background. Feel the pain yet?

      http://www.calculatorcat.com/moon_phases/daily_moon_phases.phtml#google_home_page

      --
      ---- Liquid was a patriot ----
    19. Re:A matter of the environment? by xmundt · · Score: 1

      bright moonlit night outside, but I'm stuffed in a windowless basement

      Perhaps my neck elevation angle is insufficient, but if I was in a windowless basement how would I know what the lunar illumination situation was?

      Greetings and Salutations...
                The same way all geeks find out about the Big Room with the Blue Ceiling....
              http://www.weather.com/
              http://stardate.org/nightsky/moon/
              G.D.R.
              Dave Mundt

      --
      YAB - http://blog.beemandave.com/
    20. Re:A matter of the environment? by MadnessASAP · · Score: 1

      An LCD? Fuck that try a CRT with the resolution cranked all the way down because your eyes stopped focusing 6 hours ago.

      --
      I may agree with what you say, but I will defend to the death your right to face the consequences of saying it.
    21. Re:A matter of the environment? by gnapster · · Score: 1

      Type with your nose.

    22. Re:A matter of the environment? by Anonymous Coward · · Score: 0

      WRONG

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

      I have a feeling this joke has been squeezed to the max.

    23. Re:A matter of the environment? by anonymousNR · · Score: 0

      I commented the same for worst working conditions and got "Not Modded".
      yes I am a karma whore.

      --
      -- It is the mark of an educated mind to be able to entertain a thought without accepting it. -- Aristotle
    24. Re:A matter of the environment? by commodore64_love · · Score: 1

      I'm about to move from the second floor (where it's waaaay too hot) into my parents' basement. What's it like living in a basement? It seems awfully damp down there. Isn't that bad for computer & stereo equipment?

      --
      "I disapprove of what you say, but I will defend to the death your right to say it." - historian Evelyn Beatrice Hall
    25. Re:A matter of the environment? by Ortega-Starfire · · Score: 2, Insightful

      Damp? No. Cold? Yes. And Winter is a bitch.

      --
      ---- Liquid was a patriot ----
    26. Re:A matter of the environment? by Anonymous Coward · · Score: 0

      WRONG

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

    27. Re:A matter of the environment? by DudeTheMath · · Score: 1

      http://www.wunderground.com/ The Weather Underground! From the same campus that brought you /.! Weather and night sky (or day sky, if you could see the stars for the sun) information.

      --
      You save only 59 seconds over 8 miles by going 75 instead of 65. Do you really have to pass that guy? Do the Math!
    28. 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.

    29. Re:A matter of the environment? by Anonymous Coward · · Score: 0

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

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

      Vim - no matter where or when, the stake must be high enough and the deadline short.

    30. Re:A matter of the environment? by curtix7 · · Score: 1

      WRONG, getting a blowjob with a gun to HER head

    31. Re:A matter of the environment? by GPLDAN · · Score: 1

      You could give the gun barrel head, thus removing the stress from your knees.

      Just trying to help...

    32. Re:A matter of the environment? by michaelmuffin · · Score: 2, Funny

      ; pom
      The Moon is Waning Crescent (19% of Full)
      ;

    33. Re:A matter of the environment? by zmnatz · · Score: 1

      Someone's been watching too much Swordfish. Oh wait the blowjob was after the gun to the head wasn't it.

    34. Re:A matter of the environment? by Anonymous Coward · · Score: 0

      gedit + terminal compiler/interpreter. Who needs anything else?

    35. Re:A matter of the environment? by Anonymous Coward · · Score: 0

      nope

    36. Re:A matter of the environment? by Lumpy · · Score: 1

      For me, any time the Boss and my other distractions are out of the office. If i'm not being interrupted with useless "updates" and "how's it going?" "done yet?"etc.....

      Find me a way to shut everyone else the hell up that thinks they are "helping" by asking me and I'm in zen.

      --
      Do not look at laser with remaining good eye.
    37. Re:A matter of the environment? by pyite · · Score: 4, Funny

      And yes, the inverted division is on purpose.

      One serious problem with this. Your performance level is something like: constant/hours_to_deadline. Assuming you work to the deadline (logical), you will perform an infinite amount of work as the integral(1/x) on the interval 0 to t diverges.

      If you can sell your boss on this, though, bravo.

      --

      "Nature doesn't care how smart you are. You can still be wrong." - Richard Feynman

    38. Re:A matter of the environment? by Tubal-Cain · · Score: 1

      Listen for werewolves.

    39. Re:A matter of the environment? by Tubal-Cain · · Score: 4, Funny

      Cold? Yes.

      If cold is a possibility, you don't have nearly enough servers.

    40. Re:A matter of the environment? by Anonymous Coward · · Score: 0

      My God, who are you people?

    41. Re:A matter of the environment? by Lillesvin · · Score: 1

      Haha, you got a point - but on the upside I can't miss a deadline no matter how much work they send my way. :-p

      On the other hand, we are calculating coding_performance_level (CPL) and not amount_of_work_done (AWD), so I guess that means that when a deadline is reached, my CPL is infinitely high (and based on my caffeine and cigarette intake, so am I.) ;)

      --
      "Live free or don't."
    42. Re:A matter of the environment? by Anonymous Coward · · Score: 1, Funny

      You went out with Phil Spector?

    43. Re:A matter of the environment? by Anonymous Coward · · Score: 0

      according to your formula, you should always leave it to the last second, as
      at deadline, your coding performance approaches infinity.

    44. Re:A matter of the environment? by Anonymous Coward · · Score: 0

      Does EMACS still stand for "Eats Memory And CoreS" like it did when I was a user in the early 1990s?

      I've matured ... into a vi user, on every platform.

    45. Re:A matter of the environment? by berend+botje · · Score: 1

      If that works for you, sure, why not?

    46. Re:A matter of the environment? by smallfries · · Score: 1

      Only if you assume that hours are continuous... real life hours maybe, but project hours? Nah... they're discrete and any fractions are *always* rounded upwards. If you're getting paid to do it then you can never reach zero because you'll have moved onto another project.

      --
      Slashdot: where don knuth is an idiot because he cant grasp the awesome power of php
    47. Re:A matter of the environment? by Anonymous Coward · · Score: 0

      As a windows user, I just downloaded both VIM and EMACS. It seems that EMACS is a kiddies editor as it just says "Maximum buffer size exceeded" when I tried to open a (400 Megabyte) text file, whereas VIM edited it fine (Taking up 1Gbyte of RAM though - whatever happened to Brief which only loaded part of the file?)

    48. Re:A matter of the environment? by Anonymous Coward · · Score: 0

      Guys, guys... we're talking productivity here, not reproductivity.

    49. Re:A matter of the environment? by x_MeRLiN_x · · Score: 1

      I find it much more worrying that he likes to drink a coffee and Mountain Dew cocktail rather than one or the other.

    50. Re:A matter of the environment? by Anonymous Coward · · Score: 0

      Eventually Malloc()s All Computer Storage

    51. Re:A matter of the environment? by Rulian · · Score: 1

      You're not that much into hacking... or even computer related stuff, right ?
      Because this movie is only targeted for "VB4 big green progress bar" lovers, not IT crowd...

    52. Re:A matter of the environment? by Anonymous Coward · · Score: 0

      corrected for you:

      coding_performance_level = (vi + smokes + (coffee | dr. pepper | bawlz)) * (100 / hours_to_deadline);

    53. Re:A matter of the environment? by Anonymous Coward · · Score: 0

      I would like to subscribe to your newsletter.

    54. Re:A matter of the environment? by Tesen · · Score: 1

      Until you virtualize half of your environment :)

    55. Re:A matter of the environment? by DahGhostfacedFiddlah · · Score: 1

      Hah! Complain all you want, but emacs has something that vi never will.

      ...I've already memorized all the keystrokes.

    56. Re:A matter of the environment? by ravster · · Score: 1

      You can code when blind(-folded)? Nice. Way to take touch-typing and knowledge of syntax to new highs. Oh, wait. Thats not how blind dates work, my bad :D.

    57. Re:A matter of the environment? by damien_kane · · Score: 1

      An LCD? Fuck that try a CRT with the resolution cranked all the way down because your eyes stopped focusing 6 hours ago.

      Definitely a CRT, but one of the ones with those phosphor-green monochromatic tubes.
      Nothing like having your characters stay on the screen for 3 seconds after you ^H

    58. Re:A matter of the environment? by Anonymous Coward · · Score: 0

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

      Sounds like my last blind date

      Greg? is that you?

    59. Re:A matter of the environment? by supernova_hq · · Score: 1

      Exterior door?

    60. Re:A matter of the environment? by supernova_hq · · Score: 1

      Or just hold the ctrl key and scroll your mouse up a few dozen notches...

    61. Re:A matter of the environment? by Tubal-Cain · · Score: 1

      How else do you think it all fits in the basement?

  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 Anonymous Coward · · Score: 0

      The window has to be open, if it's cold, or the A/C has to be cranked up.
      And I can't listen to music on speakers, it has to be in headphones.
      And it has to be heavy metal or techno. Anything doesn't keep the focus, high bpm.

      Under these ideal circumstances, I code 30,000 lines per day.

    2. Re:In My Opinion, a Truly Horrid List by mkcmkc · · Score: 2, Interesting

      True, I can multitask while the TV is showing something I've seen or do not care about.

      Actually, I do fairly well watching episodes of TV shows that I've already watched into the ground (e.g., MASH). Because I know exactly what's going to happen, I can tune in and out at any time without missing anything. It's kind of meditative.

      I also agree about the headphones. Perhaps these two are related.

      --
      "Not an actor, but he plays one on TV."
    3. Re:In My Opinion, a Truly Horrid List by danieltdp · · Score: 1

      Under these ideal circumstances, I code 30,000 lines per day.

      .

      Java or pyhton? Cause you know, it's a lot different!

      --
      -- dnl
    4. Re:In My Opinion, a Truly Horrid List by Anonymous Coward · · Score: 0

      You're my man, except I prefer SKY.FM's Solo Piano or Uptempo Smooth Jazz streams.
      One only needs to maintain drink / meal / sleep discipline plus get up from the keyboard every now and then to stretch limbs and flush the head.
      And one of the most important things is a good ... chair. In fact, when I find myself with uncomfortable chair, I prefer to remain standing (ergo don't forget your comfy shoes at home :-) ).

    5. Re:In My Opinion, a Truly Horrid List by Anonymous Coward · · Score: 0

      Anywhere I don't have internet access is where I write the best code.. lack of distraction helps a lot. I once wrote a small but very useful app on an airplane in VB5.0 that I've used for years...

    6. 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?
    7. Re:In My Opinion, a Truly Horrid List by Anonymous Coward · · Score: 0

      Totally behind the classical music and jazz, especially at night with the wind blowing in the back, even better if there is varying rain speeds.
      If there is no wind, i just turn on my funky fan.

      I can get so much done in those conditions.
      In fact, it lead to the now stagnating project i started on back in January.

      If i could be bothered getting one of those comfy chairs that you can mount a computer (or monitor) on and angle it 45~, it would be even better.
      Vibrating too. Ooohhh yeah.

    8. Re:In My Opinion, a Truly Horrid List by Anonymous Coward · · Score: 0

      Best for me, and I am a bit of a night person is round 11:30-2:30. The reason for me is concentration vs distractions. At this hour, even in a big city, there is nothing distracting you from going outside (coffee,tea, snacks) Nothing to watch or listen to on TV. I listen to music, usually looping a track, until it becomes unbearable to listen to, then I take a little break.

    9. Re:In My Opinion, a Truly Horrid List by joeman3429 · · Score: 1

      I know when I'm in the zone when I get up from my keyboard, walk around the house and then 5 minutes later I actually realize I'm not even typing anymore.

      I'm so wrapped up in thoughts that I'm not even aware of where I am haha. I think it's a sort of religious experience.

      I can only do this when I'm alone at home or school though, because I gesture and talk to myself outloud like I'm mentally handicapped...

    10. Re:In My Opinion, a Truly Horrid List by chis101 · · Score: 1

      In case you didn't do the math, 30,000 lines is over 1 line per second for 8 straight hours.

    11. Re:In My Opinion, a Truly Horrid List by Anonymous Coward · · Score: 0

      Ugh. Radio K is horrid; listening to it while coding would be worse than sitting in a room filled with talking people.

      Then again, it's not meant to cater to my taste :P

    12. Re:In My Opinion, a Truly Horrid List by Voltaire759 · · Score: 1

      I don't think that I have a preference for an environment -- as long as I get to chose it.

      BTW, my students laugh, but I often describe what I call "programmer's high", the equivalent of runner's high. No mind altering substances involved, just getting in a groove where I write perfect code at high speed with an endorphin high. I can't say any particular environment does it, but I know when I'm there.

      --
      Écrasez l'infâme
    13. Re:In My Opinion, a Truly Horrid List by seek31337 · · Score: 1

      Have you tried creating Java classes in Eclipse? It's very handy. You'd only need to make 1 every like 10 minutes.

      --
      No SIG for you!
    14. Re:In My Opinion, a Truly Horrid List by billcopc · · Score: 1

      If your students laugh at that, I think they should quit the program and choose something more appropriate for their shuttered little minds.

      "Programmer's high" is a very real thing, but I think you have to be a true geek to appreciate it. You have to enjoy programming in the first place, in order to hit that feedback loop where coding gets you excited, and the rush helps you code faster/better, until you reach peak performance and the perfect buzz. Those asshats "just doing I.T. for the money" and making our lives miserable, they'll never get it.

      --
      -Billco, Fnarg.com
    15. Re:In My Opinion, a Truly Horrid List by Yvan256 · · Score: 1

      I listen to music, usually looping a track...

      Some tracks from World of Goo can do wonders in loop mode.

    16. Re:In My Opinion, a Truly Horrid List by Yvanhoe · · Score: 1

      Stangely, I have never been as productive as during a 2 or 3 hours trip in train. Maybe it is the special seats, maybe the feeling that you are going somewhere, I'm not sure. When I am in the "perfect" working condition : no noise, ideal temperature, correct lights, comfortable seat, no one to interrupt me and good music, I was not that efficient.

      --
      The Wise adapts himself to the world. The Fool adapts the world to himself. Therefore, all progress depends on the Fool.
    17. Re:In My Opinion, a Truly Horrid List by XDirtypunkX · · Score: 1

      If they were truly your ideal conditions, you would do 1000 lines that achieved more functionality than those 30000. Less is more!

    18. Re:In My Opinion, a Truly Horrid List by XDirtypunkX · · Score: 1

      It is more commonly known as "the zone".

    19. Re:In My Opinion, a Truly Horrid List by ggvaidya · · Score: 1

      I discovered Braid's soundtrack just a few days ago, and now this! Thank you so much for linking to that, it's going into my playlist asap.

    20. Re:In My Opinion, a Truly Horrid List by Uzuri · · Score: 1

      Fail them. Fail them all.

      The programmer's high is the only reason I haven't given up programming for construction work ;)

      --
      I'm a she-slashdotter... but I make up for it by living with my folks.
  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 bigredradio · · Score: 3, Funny

      Thanks for the tip. I just got a jury duty letter and was avoiding it. I'll give it a shot.

    2. 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.
    3. Re:Oddly enough... by Anonymous Coward · · Score: 0

      Sadly the only time I've been near a jury was trying to justify something.

      Fortunately a matter of procedure made the whole thing irrelevant.

      And so here I sit, free as a bird.

    4. Re:Oddly enough... by dkleinsc · · Score: 1

      Depends on your jurisdiction, I'm guessing, but at least when I served they left me, another programmer, and a chemist on the jury. They booted the lawyer for obvious reasons, and one person who thought that the defendant was guilty because they were accused.

      The defense council attempted to make an emotional case (essentially insinuating that the victim was a crack whore and thus didn't deserve revenge), but it was a very clear case when all was said and done.

      --
      I am officially gone from /. Long live http://www.soylentnews.com/
    5. Re:Oddly enough... by maz2331 · · Score: 1

      Judge: See you again in 90 days for further contempt proceedings.

    6. Re:Oddly enough... by LaskoVortex · · Score: 4, Informative

      Depends on your jurisdiction, I'm guessing, but at least when I served they left me, another programmer, and a chemist on the jury.

      You got tapped because you don't know what you are doing. The trick is, when they get to you and ask you about your job and spouse and such, is to proclaim clearly and in your best and most assertive and confident Obama voice, that you are "able to be 100% impartial and will consider only the evidence presented" and, because of your training as a scientist/engineer, are "never swayed by emotional appeal". If you do this, you are the next juror excused no matter whose turn it is to excuse jurors. It works every time for me.

      --
      Just callin' it like I see it.
    7. Re:Oddly enough... by Anonymous Coward · · Score: 0

      Your assumption that dkleinsc was trying to get out of jury duty is unsupported by his post. Some people do not shirk their civic duty, and you should be ashamed you are not among them.

    8. Re:Oddly enough... by LaskoVortex · · Score: 2, Insightful

      you should be ashamed you are not among them.

      The layers should be ashamed that my techniques work!

      --
      Just callin' it like I see it.
    9. Re:Oddly enough... by Anonymous Coward · · Score: 0

      You forget the next part. Waking up in a cell with a 300 lb guy nicknamed Francis.

    10. Re:Oddly enough... by huge · · Score: 1

      you should be ashamed you are not among them.

      How is it GP's fault that lawyers don't want jurors that want to be impartial and would consider all the evidence?

      --
      -- Reality checks don't bounce.
    11. Re:Oddly enough... by xouumalperxe · · Score: 1

      You have a very good point. I find that I'm a lazy git, and, while I have a ton of things I want to try coding up, I never end up doing so because something else easier (like playing a game) comes up to take my free time. The best code I wrote as a leisure thing (as opposed to work-related code, which ends up being at least decent whatever happens) was written because I was stuck with a computer, no 'net connection, no games, and a fair bit of free time.

    12. Re:Oddly enough... by mqduck · · Score: 1

      Where does the brain come in? Are you saying that you, as an intelligent, rational human being, doubt that it matters if you know those involved in the case? And that it's worth people's time on their job to discuss it?

      --
      Property is theft.
    13. Re:Oddly enough... by Anonymous Coward · · Score: 0

      How is it GP's fault that lawyers don't want jurors that want to be impartial and would consider all the evidence?

      It's not. It is, however, his fault that he (by his own admission) is trying to get out of jury duty.

    14. Re:Oddly enough... by Anonymous Coward · · Score: 0

      The [lawyers] should be ashamed that my techniques work!

      Yes, that is also true. There is no shortage of shameful behavior here.

    15. Re:Oddly enough... by Anonymous Coward · · Score: 0

      That's pretty good, but the best I've heard is to answer the question "What do you do?" with "As little as possible."

      It's generally true, and it's an early question. BAM, forced labor avoided.

      (Hopefully without contempt of court...)

    16. Re:Oddly enough... by s.carr1024 · · Score: 1

      Almost the same thing happened to me when I was selected for Jury Duty.

      The prosecutor asked me if I'd be willing to convict someone based solely on testimony from the victim (paraphasing). I said "No, there'd have to be some kind of evidence." I was immediately dismissed by the prosecutor, using one of her for-whatever-reason juror dismissals.

      Another guy said, "99% of people who are arrested are guilty." He was still on the jury when I was dismissed.

  4. not where, when by Anonymous Coward · · Score: 0

    I think I peak at 3AM

    1. Re:not where, when by I+cant+believe+its+n · · Score: 1

      I think I peak at 3AM

      ... but when do you poke?

      --
      She made the willows dance
    2. Re:not where, when by markfinn · · Score: 1

      ... but when do you poke?

      Also at 3AM

  5. Italian family in law by dargaud · · Score: 1

    Strangely enough, I do some of my best coding with the laptop on the sofa in the middle of the living room of my italian in laws... And they are fairly stereotypical... I'd say it's stimulating ! I used to write letters to girlfriends in noisy bars...

    --
    Non-Linux Penguins ?
  6. Up in ya, now go away. by b4dc0d3r · · Score: 2

    If you think this is a troll, you obviously don't work amongst people. Just shut up for a while and maybe I'll get that done, but with all your blabbing and meetings and documentation I just cannot do what you're paying me to do.

    Now go away.

    1. Re:Up in ya, now go away. by LaskoVortex · · Score: 1

      I'm working on it!

      Tidied that up for you.

      --
      Just callin' it like I see it.
  7. Ginger Snaps and S. Pellegrino by tsalmark · · Score: 1

    Where there's Ginger Snaps and S. Pellegrino, there is good code.

    1. Re:Ginger Snaps and S. Pellegrino by godrik · · Score: 1

      Almost the same for me. I loved to write code in a cafe with a diet coke and tourist passing by. Otherwise at home during sunset with opened windows to smell fresh air and some english pop.

    2. Re:Ginger Snaps and S. Pellegrino by Anonymous Coward · · Score: 0

      Yeah I love being chased by teenage werewolves while programming too.

  8. Strangely.. Primm, NV by Anonymous Coward · · Score: 0

    I used to drive a big rig, and I'd stop here. I was always in the mood to code after I stopped off and picked up a burrito from a Mexican food place in next to the information center, and a cup of coffee from Starbucks.

    Walk back to my truck, hop into the sleeper munch and code for the next couple of hours.

  9. Best place != Most pleasant by mcrbids · · Score: 4, Insightful

    Sad to say, but the "best place" to code in depends on what your goal is.

    After the best quality code? The best place is a quiet place, free of distractions, where the problem can be easily and clearly understood.

    Want the best mood while coding? That's when you consider the balcony of a beach-front apartment, or a nice table with comfy chairs at a restaurant with a view for the afternoon.

    Pick your goals, then come up with what you are after.

    The trick is to find a place with a good combination of comfort for long-term developer happiness and contentment and actual good results. So a nice office with full snacks, comfortable chairs, nice lounge, music, being treated with courtesy and respect, decent pay, decent benefits, and having the freedom to develop in a non-restrictive manner, while still being held accountable for the result is a good mix, and that's where most businesses tend.

    Including my own.

    --
    I have no problem with your religion until you decide it's reason to deprive others of the truth.
    1. Re:Best place != Most pleasant by Red+Flayer · · Score: 4, Interesting

      After the best quality code? The best place is a quiet place, free of distractions, where the problem can be easily and clearly understood.

      I'm not sure that's a universal truth. I concentrate best, for example, where there is a constant murmur (or even din) of background noise. It doesn't matter if it's quiet or loud, but both silence, and variations in the volume of noise, are bad.

      I've produced some of my best code next to a loud brook, birds chirping, etc -- but I've also produced some of my best code in a noisy bar at happy hour and in Grand Central Station at rush hour.

      Silence is anathema to good quality code for me -- constant subtle distractions are a great way of grabbing my focus when necessary so that my subconscious can work out a problem.

      --
      "Trolls they were, but filled with the evil will of their master: a fell race..." -- J.R.R. Tolkien on Olog-hai
    2. Re:Best place != Most pleasant by HeronBlademaster · · Score: 1

      I'm the same way. If the room is silent, I inevitably find myself doing something unproductive yet enthralling like crawling Wikipedia at random, or if I'm at home, playing games.

    3. Re:Best place != Most pleasant by twistedsymphony · · Score: 2, Interesting

      I can see that, I hate absolute silence, I code best when I'm listening to music, anything really. At home it's usually some kind of techno, but at work I'm not allowed to listen to music at all.

      Interestingly enough my most productive week at my job ever was when I stayed to work while the company was shut down for construction, the construction noises combined with some FM radio, comfortable clothes and no distractions from chatty co-workers was the perfect storm for getting work done quickly and effectively.

    4. Re:Best place != Most pleasant by Hatta · · Score: 2, Interesting

      All depends on motivation. If I care, I can tune out any distraction. If I don't, any distraction is fatal to my effort.

      --
      Give me Classic Slashdot or give me death!
    5. Re:Best place != Most pleasant by Anonymous Coward · · Score: 0

      Have to agree on the non-monotonous noisy environment, but for a different reason. The noise doesn't provide distractions, it drowns them out. When it's silent all around, then every little repetitive sound catches my attention: A clock ticking, a bird chirping, someone tapping their fingers on the table - it drives me nuts. If there is a noise floor without discernible or repetitive elements, I have no trouble concentrating.

    6. Re:Best place != Most pleasant by sesshomaru · · Score: 1

      So, when is the best place a cube where you are constantly being peppered with questions? (Some related to what you are working on and some not?)

      --
      "MIT betrayed all of its basic principles."
    7. Re:Best place != Most pleasant by molarmass192 · · Score: 1

      Ditto ...my very best code happens between 8AM and 12PM, the more noise the better ... earbuds in ... music banging ... foot tapping ... I can get on a hell of a roll ... but if you interrupt me, god help me, I'll kill you. I don't want to talk to anybody before lunch. Besides, there's too much workplace "noise" after lunch to get a good 4 hour block of coding in.

      --

      Good people do not need laws to tell them to act responsibly, while bad people will find a way around the laws-Plato
    8. Re:Best place != Most pleasant by PipingSnail · · Score: 2, Informative

      That implies you must be using a laptop to write code.

      How can you produce your best code on laptop? Thats just incredible. Rubbish keyboard on all laptops and compromised mouse support.

      I've got an excellent laptop, a Dell M6300 and its not up to the job despite a good large keyboard and 1920x1200 screen. Don't even mention a Macbook with its horrible keyboard and even worse mouse/trackpad etc.

      You need a real machine, with good ergonomics etc. So basically that means separate screen (so you are not hunched over it), real keyboard that you situate a decent distance and height from the screen (unlike a laptop), same for mouse, multiple buttons on the mouse (Ouch, out goes the Apple). OS of your choice, Windows or Linux, doesn't matter.

      Airplane? You've got to be kidding. Thats about as useful an environment as sitting at a bus-stop or in a cafe. Plain useless. If I'm in a plane, I'm suffering all the other folks because I want to go to the destination. If I'm in a cafe its because I'm hungry and/or I have some interesting company to hang out with.

      The last thing I want is some inane conversation about football or a TV soap or some girl nattering about her boyfriend interfering with my software thought processes. Thats the unfortunate things about ears, unlike eyes you can't close them.

      Silence. It can be great. As I get older I find I prefer it more. But often I code to music (Zappa through folk, no rap, no hip hop, no drum and bass - what could be worse?). Melody is good (rhythm implied by melody), rhythm without melody (drum and bad, hip hop, rap all fit that) is bad.

      I often puncuate my software writing with playing musical instruments (border bagpipe and mandolin if you are interested). A good long walk often helps as well.

      And yes, I do get to do all these things. I work for myself these days, but previous employers often let me arrive late for work or leave in the middle of hte day for 3 hours to go horse riding. All about getting the right things. I may be gone for 3 hours but most times those days they got 10 hours out of me those days (yes 10 in the office) and highly productive too (Emacs on various Unix and VMS back then).

      Someone mentioned vi. For productivity? You are joking.

      In an ideal world, vi, its progeny and derivatives (including Emacs vi-mode), like smallpox before it, would be eradicated. And all software developers would be a lot more productive. Bill Joy has a hell of a lot to answer for inflicting that upon the software world.

    9. Re:Best place != Most pleasant by xaxa · · Score: 2, Interesting

      in Grand Central Station at rush hour

      I once did a load of work on the Circle Line (subway) in London. It was busy, but I had a seat and knowing no one else would interfere with me was good.

      That's the difference with an office: in an office, some of the noise might be for me -- someone coming to talk to me, or a phone call, or a conversation about something I know about.

      In any other busy place I don't need to listen for anything, so it's much easier to block out.

    10. Re:Best place != Most pleasant by Anonymous Coward · · Score: 0

      'zactly.
      in the office i have a few productivity places.
      3 - the kitchen/diningroom. Just enough bustle from people who are NOT looking for me. This is not as good as a coffee shop, but it leaves managers with the ability to manage by walking around.
      2 - empty offices and conference rooms. Meeting over? i'll just stay here a while longer...
      1 - when everyone goes home for the day, I turn on the tunes (no headphones for me!) and rock the night away.

      outside the office is similar.
      radio on. no inane interruptions. no helicopter managers.

    11. Re:Best place != Most pleasant by emptybody · · Score: 1

      NEVER.

      --
      comment directly in my journal
    12. Re:Best place != Most pleasant by billcopc · · Score: 1

      I actually find laptops help me focus, because they allow me to find the perfect cozy spot. I find a massively distracting environment is actually helpful, because once you train yourself to tune it all out, you can work in any environment, on command.

      My best code was written in a strip club, slouched on a sofa in a far corner (as staff, so the girls left me alone - well, the smart ones anyway). Tune out the boobs and loud music, and you become unstoppable, because your conscious mind is focused while your unconscious mind is gleefully entertained and out of your way. I used to hit a trance-like state, it freaked people out a bit and they'd often watch in amazement as I stared into my code, perfectly still except for the fast rhythmic typing, I didn't even blink. It's the kind of mood where you get really pissed off when someone breaks you out of it; it's like being yanked out of sleep, everything jumps back to real-time and it takes a few moments to get your bearings.

      In contrast, I can't code worth shit in an office environment. Phones ring, people chit-chat, nerf toys go flying, and the goddamned neon lighting just feels off-balance. Oh, and people feel the constant need to talk face-to-face when an IM or email would have sufficed. It's the worst environment ever for coding, at least for me.

      --
      -Billco, Fnarg.com
    13. Re:Best place != Most pleasant by JoeMerchant · · Score: 1

      a nice office with full snacks, comfortable chairs, nice lounge, music, being treated with courtesy and respect, decent pay, decent benefits, and having the freedom to develop in a non-restrictive manner, while still being held accountable for the result is a good mix, and that's where most businesses tend.

      Tend to say they wish they could be more like... in reality you're usually stuck with whatever furniture has been bestowed by the former furniture fairies, the pay is what the pay is - same for the benes, yeah, sorry the health insurance sucks - but it's the best we can get because of (insert excuse here, not always to do with money), and that freedom to develop in a non-restrictive manner is always what we're going to be doing after we get this unterminable project out of the way...

    14. Re:Best place != Most pleasant by Bu11etmagnet · · Score: 1

      Want the best mood while coding? That's when you consider the balcony of a beach-front apartment, or a nice table with comfy chairs at a restaurant with a view for the afternoon.

      Noooo! Not the comfy chair !

      --
      Life is complex, with real and imaginary parts.
    15. Re:Best place != Most pleasant by mowall · · Score: 1

      I once did a load of work on the Circle Line (subway) in London. It was busy, but I had a seat and knowing no one else would interfere with me was good.

      Plus you know you've got plenty of time on your hands!

    16. Re:Best place != Most pleasant by mqduck · · Score: 1

      Being a psychology student^W^W^W myself, I find that very interesting. Have you tried using nature recordings? Would "ambient" music like the kind Brian Eno makes work, or does the fact that it incorporates a lot of silence ruin it? How about droney, monotonous Indian music?

      --
      Property is theft.
    17. Re:Best place != Most pleasant by Red+Flayer · · Score: 1

      Music doesn't work that well for me, I find myself paying attention to it instead of the task at hand. That's been my experience for all the music I've tried to work to... while it may help me become marginally productive when I'm not in the mood to work, I'm never able to hit the Zone with music playing. I've tried almost everything (rap & pop country excluded, because I don't own any), and all of it distracts me (techno (of multiple types), classical (about 20 different composers), smooth jazz, swing, classical jazz, jazz fusion, blues, bluegrass, classic rock, prog rock, folk rock, hard metal, hair metal, death metal, pop from the 70s to the 90s, folk, blues, doo-wop, you name it, I've probably tried it.

      --
      "Trolls they were, but filled with the evil will of their master: a fell race..." -- J.R.R. Tolkien on Olog-hai
    18. Re:Best place != Most pleasant by supernova_hq · · Score: 1

      Neon lighting??? Where the hell do you work?

      If you meant fluorescent, then you have a serious point. Anyone who expects coders to work under those abominations of flickering artificial light is out of their bloody minds! Sunlight is also bad, not because I'm nocturnal (which I am), but because it causes a LOT more glare than anything else I have encountered.

      Give me bulbs (CFL's are fine for me) or give me unemployment!

    19. Re:Best place != Most pleasant by supernova_hq · · Score: 1

      Have you ever worked somewhere that has a "soothing" water fountains (one that sits on a table)? If you haven't, you have no idea what you are missing. They have no repetitive pattern and offer that *perfect* level of noise that simply multiplies productivity.

      I usually work with music (anything but country), but if I find myself near a water fountain, the music goes off.

  10. On a plane...On the way to do a demo... by pls2917 · · Score: 1

    On a plane on the way to do a not-working-yet demo. Best code? No. Fast code? Very.

    1. Re:On a plane...On the way to do a demo... by deKernel · · Score: 1

      Even better than a non-working demo, try getting what will be their production code working.

    2. Re:On a plane...On the way to do a demo... by Yvan256 · · Score: 1

      So YOU'RE the guy who wrote those scanner drivers for Windows 98!

  11. Oh I'm So Much Cooler Online... by Anonymous Coward · · Score: 0

    I get home, I kiss my mom
    And she fixes me a snack
    I head down to my basement bedroom
    And fire up my Mac

  12. I code best when I'm reading Slashdot by Anonymous Coward · · Score: 1, Funny

    Yes, I am at my most efficient while reading Slashdot. Or just generally browsing random web sites
    huh? Oh... OK... nevermind, my boss was walking by as I wrote that previous bit

  13. The middle of the night by garnetlion · · Score: 1

    All my best coding takes place in the middle of the night. It's quiet and everybody else is too busy sleeping to distract me.

    Unfortunately, the times when I'm really tearing it up are usually the same times that I have to be awake and alert in 3 hours or less.

    1. Re:The middle of the night by Doeven09 · · Score: 1

      Agreed, i finish incredible amounts of work at 6am sometimes. Other times when my code bugs out and i lose that 3 hours sleep and ruin productivity for the day after.

  14. My happy coding place? by MarkovianChained · · Score: 1

    At the bottom of a bottle of whisky.

    1. Re:My happy coding place? by internerdj · · Score: 1

      I tried this in my undergrad days. You can churn out quite a bit of good code but one error and your night is gone. BTW I had to repeat assembly the following semester.

    2. Re:My happy coding place? by try_anything · · Score: 1

      You can churn out quite a bit of good code but one error and your night is gone.

      Funny, this was my experience with alcohol also. It was wonderfully disinhibiting, and I wrote a lot of pretty decent code without obsessing over fine points of style like I normally would. However, after three or four I was absolutely helpless at fixing anything I had screwed up except minor typos. I couldn't even get my C++ code to compile unless the compiler reported an error at exactly the right line number, because I literally could not read the template error messages from g++ (and believe it or not, I normally can.) Eventually I figured out just to give up and go to bed (or keep coding without compiling) at the first sign of trouble. And eventually I realized drinking and coding late into the night was not the right way to deal with that crappy job, and eventually I quit and got a new one.

    3. Re:My happy coding place? by internerdj · · Score: 1

      The "find an error, take a shot" drinking game my roommate and I were playing probably didn't help matters either.

  15. 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.

    1. Re:In my head while driving. by Abcd1234 · · Score: 1

      Never thought of carrying along a dictaphone? Or a notepad for when you're stuck at a light or in stop-and-go traffic?

    2. Re:In my head while driving. by dragonjujotu · · Score: 1

      Truly. I've rewritten plenty of code in my head just to forget half the changes by the time I'm in front of a computer again, or how I was going to use that thing to do that one piece... Frustrating.

      --
      Yes, I am obsessed with ellipses.
    3. Re:In my head while driving. by Anonymous Coward · · Score: 0

      call your own voicemail. I leave all kinds of reminders on my voicemail.

    4. Re:In my head while driving. by Anonymous Coward · · Score: 2, Insightful

      For me it's not so much a problem losing ideas en route to a computer, but losing the desire to code by the time I've reached it ...

    5. Re:In my head while driving. by Anonymous Coward · · Score: 0

      Once I had an epiphany while driving down the freeway. Busted out the laptop, reclined the seat, and implemented and tested the code on the spot. However, I would not recommend this.

    6. Re:In my head while driving. by greg1104 · · Score: 1

      I use a Sansa Fuze, which lets me play FLAC files, works perfectly on Linux, and has a voice recorder. I can also record my voice on my Blackberry with VR+ (there's a version of that for the iPhone and iPod Touch as well). While not perfect for archiving code idea, I can usually get down enough verbal notes to jog my memory of what I was thinking in the car.

    7. Re:In my head while driving. by MetalPhalanx · · Score: 1

      /agree

    8. Re:In my head while driving. by Anonymous Coward · · Score: 0

      I get that. I've come up with some eureka moments in the shower. I've also gotten some great coding ideas in there.

    9. Re:In my head while driving. by Atlantis-Rising · · Score: 1

      Agree so much- although I don't code, but as I basically write for a living, the aggravation of having a wonderful series of words, a phrase, a page, a paragraph, anything come together perfectly and then having this burning urge to write it down- but being unable to- and then finally getting to a computer and having forgotten half of it and no desire to figure it out is enormously frustrating.

      It was for that reason I shifted from a 15.4" notebook to a 12.1" tablet, actually, in the hopes that it would make my writing more convenient. Has worked out so far, but not as well as I'd like.

      --
      "It is possible to commit no errors and still lose. That is not a weakness. That is life." -Peak Performance
    10. Re:In my head while driving. by Prof.Phreak · · Score: 1

      Never thought of carrying along a dictaphone?

      But... I'm sooo boring to listen to!

      --

      "If anything can go wrong, it will." - Murphy

    11. Re:In my head while driving. by Anonymous Coward · · Score: 0

      me too

    12. Re:In my head while driving. by Hangeron · · Score: 1

      Yeah, reality is a bitch.

    13. Re:In my head while driving. by arndawg · · Score: 1
  16. 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 mikerowave · · Score: 1

      I find that I write some of my best code with Pink Floyd playing.

    2. Re:For me, it's music, not place. by Anonymous Coward · · Score: 0

      mod up parent. I find that ambient/classical/techno music is the best for coding. I can feel the code "flow" off my fingers when I have that music and no distractions.

    3. Re:For me, it's music, not place. by kevingolding2001 · · Score: 5, Interesting

      And Eno! Lots of Eno.

    4. Re:For me, it's music, not place. by Xiver · · Score: 1

      Music does it for me too. The lyrics usually don't bother me though, but if I hear the same songs over and over it can screw me up. I like Pandora myself, but I have an MP3 backup playlist just in case I lose my internet connection.

      --
      10: PRINT "Everything old is new again."
      20: GOTO 10
    5. Re:For me, it's music, not place. by linuxtuba · · Score: 0

      Care to post the list? That would be quite helpful for me and others as well.

    6. Re:For me, it's music, not place. by b4dc0d3r · · Score: 1

      Based on the MAFIAA's track record, I'm wondering if that's a good idea. If it's a Winamp type m3u it also contains the location of the file, so that combined with the poster's IP address is really no different from how TPB got busted.

      Play it safe, leave only the indie stuff.

    7. Re:For me, it's music, not place. by MachDelta · · Score: 1

      I agree it's all about the music, but for me I find my best bouts of creativity flow when i'm listening to intense metal or a darker shade of rock music. Dunno why. Also, techno seems to help my stamina for some reason and debugging crap absolutely HAS to be done to something soft-ish or I get frustrated reaaaal fast.

    8. Re:For me, it's music, not place. by Anonymous Coward · · Score: 0

      Unless Syd Barrett is prominently featured in this Pink Floyd, you disgust me.

    9. Re:For me, it's music, not place. by Anonymous Coward · · Score: 0

      > I need music with no vocals
      I recommend the "Liquid Mind" series by Chuck Wild. Nice, relaxing ambient music, that is subtle background music. Another good choice is the "Budda and Bonsai" series.

      For vocals, but Lorenna McKennit, and Enya work too.

      > I have a special playlist called "coding" for those times when I really need to be focused.
      Cool idea!

    10. Re:For me, it's music, not place. by Chabo · · Score: 1

      For me it needs to have no vocals and no complex drum parts; I'm a drummer, and I can't even listen to Dream Theater or Rush instrumental songs while coding, because I end up spending more time drumming on my desk than typing.

      So I have a similar playlist -- mostly classical and techno. I mostly end up going with movie soundtracks, because they're often designed specifically to be "background" music. Techno has drums, but since it's usually electronic, it's not complex enough to be fun to play along.

      Movie soundtracks I own, and use for coding:
      Golden Compass, Firefly, Serenity, The Dark Knight (this one is excellent for coding), Lord of the Rings, Master and Commander, Braveheart, Defiance, Hidalgo, Valkyrie, Pirates of the Caribbean, Ogniem i mieczem/With Fire and Sword (good Polish movie), Princess Bride, Band of Brothers, Gettysburg, Legend, and Merlin.

      I've also found that even though I don't particularly enjoy Nine Inch Nails, it's good for coding, especially Ghosts I-IV since it's all instrumental. I plan on also buying a couple of CDs from The Art of Noise and Pendulum, since I think those will be good for coding.

      --
      Convert FLACs to a portable format with FlacSquisher
    11. Re:For me, it's music, not place. by Anonymous Coward · · Score: 0

      Agreed. I listen to Soma FM's Groove Salad channel only while programming. As soon as I hear the music from that channel my mind starts working. I've conditioned myself to switch right into deep programming as soon as I flip on down-tempo ambient electronica. It works really well for when I have to get some very difficult problems solved quickly right after doing something completely different. There's very little lag setting up my mind for programming.

    12. Re:For me, it's music, not place. by Hatta · · Score: 1

      What? No jazz?

      --
      Give me Classic Slashdot or give me death!
    13. Re:For me, it's music, not place. by Anonymous Coward · · Score: 0

      Check out generalfuzz for chill electronic music with out vocals. All cc licenced: http://www.generalfuzz.net/

    14. Re:For me, it's music, not place. by oldhack · · Score: 1

      Many are commenting on your post, as I am. I am thinking it must be the rhythm - it helps the mental rhythm flow.

      --
      Fuck systemd. Fuck Redhat. Fuck Soylent, too. Wait, scratch the last one.
    15. Re:For me, it's music, not place. by Dr.+Manhattan · · Score: 1

      Care to post the list? That would be quite helpful for me and others as well.

      I suspect that the specific things that work for me wouldn't work for everyone. I have Crystal Method, Mozart, Beethoven, a little Alan Parsons Project & Art Of Noise, some MIDIs, & MODs, and plenty of soundtracks.

      The main thing for me is no vocals. It steals processing time from the verbal parts of my brain that are working on translating ideas into code. Even just chanting in languages I don't understand frequently doesn't work - my brain wants to process human voices. For general stuff, debugging and the like, it's not critical - but for peak coding, I gotta have music but can't handle vocals.

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

      Any suggestions for good internet radio with no vocals? I've been listening to my pandora and last.fm streams for years, and banning every piece of vocal techno music that has come along, and it still hasn't learned the correlation.

    17. Re:For me, it's music, not place. by _Hellfire_ · · Score: 1

      May I also suggest Crimson Tide, Gladiator, The Rock and The Hunt for Red October.

      --
      "And then I visited Wikipedia ...and the next 8 hours are a blur..."
    18. Re:For me, it's music, not place. by Sponge+Bath · · Score: 1

      ...and a pocket full of Fripptonite.
      Either that or ear splitting banjo music.

    19. Re:For me, it's music, not place. by Chabo · · Score: 1

      Interesting... The Hunt for Red October was the only one you mentioned that Hans Zimmer didn't do... :-P

      I've seen all of those movies, and I like Hans Zimmer's music, but I've found it's not the best to code to, for the same reason that John Williams doesn't write good coding music (ironically, considering he's at the center of nerd-dom). Zimmer's not really a "background music" kind of guy, which is why I think it was brilliant for him and James Newton Howard to collaborate on the new Batman movies, since Howard is a very subtle composer.

      Maybe you can code well to Hans Zimmer's music, but I can't. ;) I may buy those soundtracks regardless though, for when I'm doing work that requires less concentration. Thanks!

      --
      Convert FLACs to a portable format with FlacSquisher
    20. Re:For me, it's music, not place. by _Hellfire_ · · Score: 1

      I am a big fan of Zimmer, and I can code to his music quite well. THFRO has the same sort of active listening component as a lot of Zimmer's work. Polidouris(sp?) put a lot of Russian choir vocals in which I love.

      THFRO may not be your cup of tea then. If you like a more soft approach, try the Riven Soundtrack - very light airy and ambient (I like coding to that as well). Also have a listen to E.S. Posthumous - movie type sound but without Zimmer's in your face power.

      --
      "And then I visited Wikipedia ...and the next 8 hours are a blur..."
    21. Re:For me, it's music, not place. by Tubal-Cain · · Score: 1

      Any Public Domain or CC links?

    22. Re:For me, it's music, not place. by Anonymous Coward · · Score: 0

      Foreign language music works to as you cant 'understand' the lyrics giving you an audio background to code in.

    23. Re:For me, it's music, not place. by Anonymous Coward · · Score: 0

      Being the music nazi that I am, I'd like to point out that you probably electronic music, and not "techno", possibly something specific like trance or ambient. The specific genre called techno nearly always has vocals.

    24. Re:For me, it's music, not place. by rdnetto · · Score: 1

      I need music with no vocals

      No vocals? Or just no English (or whatever your primary language is)?
      I code all the time while listening to j-pop. While it may not be your genre of choice, I find that I can still enjoy a song that I don't understand the lyrics to, and it's also less distracting than one in English.

      --
      Most human behaviour can be explained in terms of identity.
    25. Re:For me, it's music, not place. by Wulfstan · · Score: 1

      You really should get your hands on the American Beauty soundtrack! Great for coding to and very soothing. Other posters mention the Riven soundtrack which is also brilliant.

      --
      --- Nick, hard at work :->
    26. Re:For me, it's music, not place. by DanielJosphXhan · · Score: 1

      And post-rock. Lots of Mogwai, Godspeed, Explosions, Sparrowes, etc.

      --
      [ think ]
    27. Re:For me, it's music, not place. by Anonymous Coward · · Score: 0

      So true. Either no vocals or nice vocals in a language my brain doesn't parse at all. (like French)

    28. Re:For me, it's music, not place. by HitherYon · · Score: 1

      Unintelligible vocals work as well as no vocals and open up a wider range of music, so I have extensive playlists in languages I don't speak (plenty to choose from!) for similar purposes. Not to mention that pop music improves drastically when the inane blather of the lyrics is transformed to nothing more than melody...

  17. The basement works for me... by bogaboga · · Score: 0, Troll

    While the basement is quite good for me, I always get interrupted by my partner as this is her favorite place too. What we do while there is just not relevant to Slashdot's audience at the moment. But I will say I hardly get anything done on the coding front when she drops by.

    1. Re:The basement works for me... by Anonymous Coward · · Score: 2, Funny

      Your basement intrigues me and I would like to subscribe to its newsletter.

    2. Re:The basement works for me... by Anonymous Coward · · Score: 0

      If it involves whips and a St. Andrews cross sign me up!!!

  18. It's your state of mind, not body by DomNF15 · · Score: 0

    I tend to agree with Spiegel about the dev's state of mind being important. At a previous job I had the opportunity to work from home and also to work in an outdoor patio space at the office. While it was a very nice perk to see sunlight and get fresh air amidst coding away on my laptop, I don't think the environment helped me be *significantly* more or less productive on its own. If I was anxious to complete the task at hand (or the task was particularly interesting to me), then no matter what my physical location, I got my job done faster and better. If I was distracted by some family issue or something going on outside of work, then regardless of whether I was in the office, at home, or outside, I couldn't focus and couldn't get things done. And more importantly, I couldn't get things done right. This is not to say environment is completely unimportant. Faced with the decision of working in a noisy office with coworkers that are constantly talking to clients or amongst themselves, or working in a quiet home office or outdoor space, I would choose the latter two...

  19. Lanai. by morgan_greywolf · · Score: 1

    Out on my lanai latte firmly in hand, sunny day, not too hot. After sunrise, before sunset in the summer, during the day the rest of the year.

  20. On my floor in the family room... by tjstork · · Score: 2, Insightful

    Next to the fireplace, with my son sitting on my back. Doesn't get any better than that. I would have thought it distracting to work from home like this, and instead I think I've written more, and better code, than I have before. Just awesome. One thing I could improve, would be to have some music going... but that's just laziness on my part.

    --
    This is my sig.
    1. 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?

    2. Re:On my floor in the family room... by tjstork · · Score: 1

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

      ROTFLOL. You wish you did not post that A/C, the mod points are well deserved.

      --
      This is my sig.
    3. Re:On my floor in the family room... by Anonymous Coward · · Score: 0

      Funny = no karma.

    4. Re:On my floor in the family room... by Anonymous Coward · · Score: 0

      ROTFLOL

      Oh god, someone call a doctor, we have an injured child!

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

      Not everyone cares about the karma.

    6. Re:On my floor in the family room... by Anonymous Coward · · Score: 0

      Few times do I actually laugh out out, but was a true lol.

    7. Re:On my floor in the family room... by MyLongNickName · · Score: 1

      I wrote it, but was in too big a hurry to bother logging in. And karma is so easy to get on Slashdot that it really doesn't mean anything. And as other AC pointed out... funny != karma :)

      --
      See my journal for slashdot ID's by year. Mine created in 2005. http://slashdot.org/journal/289875/slashdot-ids-by-year
  21. Not a matter of where, but when by Swizec · · Score: 4, Interesting

    It would seem that no matter where I am, the best coding I do is at about two to four in the morning. It's that time of the day when the internet is somewhat at rest because aussies are going home from work and having dinner, americans are just starting to actually work, or are getting to work and europe is mostly at sleep.

    Then just put a movie or some tv show on the second screen and code away. Nirvana.

    However about writing fiction or any sort of prose, I'm very picky as to the locale. It has to be a busy coffee shop or better yet, a club event. No idea why, just has to.

    1. Re:Not a matter of where, but when by try_anything · · Score: 4, Funny

      If you don't like waiting for the internet to settle down at night, I find it helps to wrap some old towels around the tubes. That muffles the sound of the bits flowing through. American bits are pretty loud no matter what you do, unfortunately.

    2. Re:Not a matter of where, but when by Anonymous Coward · · Score: 0

      I cant agree more. 2am-4am with something to kill the silence and not distract me.

    3. Re:Not a matter of where, but when by Anonymous Coward · · Score: 0

      Interesting.. I'm the same way. It may be that coding requires a deep sort of concentration and prose requires some "seed" noise. Or maybe it's because coding requires me to sit for a few hours at a time for the compile/debug process and my battery dies out way too early...

    4. Re:Not a matter of where, but when by BikeHelmet · · Score: 1

      I'm most creative between two to four in the morning, as well.

      A couple times I've been struggling to solve some problem, like a GUI crash. I can stare at tens of thousands of lines of code all day long, but I won't find it. Then if I re-examine the source files at 2 in the morning, poof, it jumps right out at me. Two hours later I've fixed that bug plus ten others that nobody knew about.

      I turn all electronic devices off, except for my computer and a non-buzzing lamp. I sit on an exercise ball and begin.

      Sometimes I drift off to other coding tasks; whatever inspires me. Yesterday I created a non-GUI sprite sheet ripper that deals with sprites of different sizes, not laid out properly inside the image. It correctly detects transparency based on shape, how common a colour is, and whether it has extreme values(0, 255).

      You drag a sprite sheet onto it, it tries to figure out which sprites are related, and then it splits them to their own files or smaller sheets. Brilliant!

      If I add a GUI, it would display to you what it thinks is correct - but I don't really enjoy all that GUI stuff, so I'll probably be lazy and keep it cmdline.

      Somehow I doubt my boss will pay me for my work last night. :P

    5. Re:Not a matter of where, but when by Secret+Agent+Man · · Score: 1

      When I code is definitely a big factor that I neglected to consider in a post I made earlier. I'm a morning person, and am most productive in the morning hours. This is really true for anything I have to focus on to complete, whether it'd be coding or schoolwork. While I can sometimes get some good productivity out of an afternoon, I'm usually a lot less focused by that point, so getting things done in the morning is what works best for me.

    6. Re:Not a matter of where, but when by ajlisows · · Score: 2, Interesting

      I have to agree with the not where but WHEN being important. For whatever reason, my synapses fire the best between 10PM and 2AM. On the other side, the 8AM to 11AM block has to be the worst. I'll take shortcuts, use non-descriptive variables (Uhhh, i think I used a and b already. I'll go with d), and avoid commenting anything.

      Of course it could be that if I am working in the morning I am at work and if I am working at night I am at home. At work I face countless interruptions and a rather uncomfortable desk setup. At home I have my "Office" where I have a comfortable chair, an old wooden chair if I need to switch to something solid, and "Papasan" chair if I get really desperate. I have a air purifier for some ambient noise or some music quietly in the background. If I am in here with the door closed the wife knows not to come in unless someone we know is dead/dying or if she means business. A break to get frisky can really put me in focused mindset.

    7. Re:Not a matter of where, but when by Anonymous Coward · · Score: 0

      EPIC WIN

  22. I find... by shellster_dude · · Score: 1

    I do the best coding in my room, my one computer playing music, or a movie, while I code on the other. My fridge nearby for a quick soda or beer. Although, if I had a good laptop and a secure connection, I think a quite coffee shop would be the best coding environment. It would provide an endless stream of caffeine and calming influence, while still providing enough entertainment to give me a moments distraction when I needed it.

    1. Re:I find... by mfnickster · · Score: 1

      ...if I had a good laptop and a secure connection, I think a quite coffee shop would be the best coding environment. It would provide an endless stream of caffeine and calming influence, while still providing enough entertainment to give me a moments distraction when I needed it.

      Yep, I used to sit in a local net cafe which was quiet and empty during the day, and get a lot of work done.

      Unfortunately, the cafe went out of business because it was quiet and empty during the day. :(

      --
      "Slow down, Cowboy! It has been 3 years, 7 months and 26 days since you last successfully posted a comment."
  23. 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.

    1. Re:I thrive on stress by jmyers · · Score: 1

      Funny, but very true. A deadline with your paycheck on the line makes you very focused and productive. Maybe if you are an open source programmer and you code strictly for enjoyment there is a better atmosphere, but for those of us that code for a living deadlines make it happen.

    2. Re:I thrive on stress by zartacla · · Score: 1

      Definitely. But then quite a few times I just end up smoking a whole pack of cigarettes, drinking cola, eating chips, deluded by the power and healing abilties of teh internets. I've been thinking to find alternative strategies. :-/

    3. Re:I thrive on stress by Anonymous Coward · · Score: 0

      Why do I get the impression most of these folks don't write DECENT code?

      If the only task at hand is isolated coding, I'll do well in a silent office at 2AM. HOWEVER, coding is only a SMALL part of engineering a working, testable, and reliable system. And few folks here seem to understand that.

      DESIGNING or TESTING under stress is a sure way to make complete crap. And there goes some 80% of your effort....

      My best environment for the ACTUAL task at hand is a morning -- not night -- effort, with at least one other competent engineer around, and a minimum of management meetings or constraints.

    4. Re:I thrive on stress by Anonymous Coward · · Score: 0

      The fools modded you "Funny" -- I just got done with a project that was handled pretty-much that way last Thursday... High priority, high potential liability, project, and yes - the customer was happy. Those last couple of hours were more productive than the proceeding couple of weeks.

    5. Re:I thrive on stress by multipartmixed · · Score: 1

      Some tips from an someone who has BTDT:

      1. 28 cokes in one sitting is too many
      2. So is three packs of smokes
      3. Ditto for a dozen bags of chips

      --

      Do daemons dream of electric sleep()?
    6. Re:I thrive on stress by cool_story_bro · · Score: 1

      something tells me that if you're running around patching at 9am, your 2am coding session was not as productive as you thought it was

      --
      You must wait a little bit before using this resource; please try again later.
  24. The weekend by Hoyty1 · · Score: 1

    It's more about the day than the location. Any day I don't have to get up with an urgent purpose such as getting in the car and driving to the office is best. Having time to get up when I want, make a nice breakfast, watch the news for about 45 minutes then get into it.

    As to the location, I like quiet and not to be bothered IE: My study. The position I'm sitting in must be of a high comfort level (feet kicked up on the desk, in a chair that can lean back pretty far), keyboard in lap mouse to the side and monitor dead elevated for easy viewing in my laid back position.

    --
    My Comic : www.ourbadidea.com
    Blame the artist for all mistakes!
    1. Re:The weekend by troll8901 · · Score: 1

      ... (feet kicked up on the desk, in a chair that can lean back pretty far), keyboard in lap ... laid back position.

      Please tell me you're not stressing your wrists when you're seated this way?

      Also, Congratulations for your two "5, Interesting" scores by your 8th post. I can learn so much from you.

    2. Re:The weekend by hattig · · Score: 1

      The problem with the weekend is actually having to do those things you couldn't do during the week - mowing the lawns, doing some gardening, cleaning, drinking beer, watching sport, seeing your friends.

      If you live in a basement, none of the above might apply!

      As for people who are saying that they have the TV on in the background for background noise reasons ... I would just find myself watching it and getting nothing done. Music is good, coffee is good, having a comfortable coding setup (chair, desk, computer, environment) even better.

  25. For me it is a coding TIME by Anonymous Coward · · Score: 0

    Anytime from just after sunset until the early AM is the best time for getting something done code wise.

  26. in a mountain of filth by Anonymous Coward · · Score: 0

    I find it best to code without the slightest care for my surroundings. Pile high the wrappers of gum and snickers and fart wildly without the slightest resistance. Open up Geany and fire way, tapping the hell out of the keyboard littered with bodily fluids, crumbs, juice, and only god knows what else.

  27. If any friskiness starts up... by Zakabog · · Score: 4, Funny

    Perhaps the serenity of being next to your significant other results in perfect code. If any friskiness starts up, then maybe itâ(TM)s time to go back out to the couch.

    I'm sure it was only intended as a joke, but if any friskiness starts up while you're coding in bed, and you choose to move to the couch, then maybe it's time to rethink your priorities.

    1. Re:If any friskiness starts up... by Anonymous+Psychopath · · Score: 1

      Perhaps the serenity of being next to your significant other results in perfect code. If any friskiness starts up, then maybe itâ(TM)s time to go back out to the couch.

      I'm sure it was only intended as a joke, but if any friskiness starts up while you're coding in bed, and you choose to move to the couch, then maybe it's time to rethink your priorities.

      You won't have to, because you'll never be getting anything from that particular significant other ever again once you chose to go play with your laptop instead of them.

      --

      Eagles may soar, but weasels don't get sucked into jet engines.

    2. Re:If any friskiness starts up... by Chris+Burke · · Score: 1

      Maybe "couch" is the author's euphemism for one of those specialized pieces of padded sex furniture. I'm just sayin'!

      --

      The enemies of Democracy are
    3. Re:If any friskiness starts up... by barzok · · Score: 2, Funny

      Just rest your laptop or keyboard on the small of her back.

    4. Re:If any friskiness starts up... by Anonymous Coward · · Score: 0

      Quite right. She should move to the couch.

    5. Re:If any friskiness starts up... by hattig · · Score: 1

      Then where do I put the beer?

    6. Re:If any friskiness starts up... by egcagrac0 · · Score: 1

      You won't have to, because you'll never be getting anything from that particular significant other ever again once you chose to go play with your laptop instead of them.

      "ever again" is to harsh of a term. My experience with persons who associate intimately with geeks is that they understand that they are not always the priority at the moment.

      And no, I haven't gotten divorced yet, despite me having to remind her from time to time that I'm working, and it only looks like I'm sitting here with my laptop goofing off.

  28. Eww .. those are his best?! by Frag-A-Muffin · · Score: 2, Insightful

    Those sound like mostly horrible conditions to work in! :)

    Although place is important, time is probably MORE important. And this is where people will differ even more. I know people that will get up at 5am and get most of their "good" work done by 9am. That's not for me. :)

    My personal best time is later at night. a) most people are sleeping, so not too many IM distractions. b) it's quiet, the neighbourhood is quiet, wife is most likely asleep, it's quiet. I can think.

    In terms of place, most of the time, these night sessions are done in my home office.

    --

    AirSpeak - http://itunes.com/apps/AirSpeak
    1. Re:Eww .. those are his best?! by internerdj · · Score: 1

      "Those sound like mostly horrible conditions to work in! :)"
      While I don't think all of them are horrible; the fact that he couldn't come up with a full 10 items for his top 10 list really explained the reason that some of those others actually made it.

    2. Re:Eww .. those are his best?! by Anonymous Coward · · Score: 0

      I agree. I would never take a job coding in a cube. At home, later in the evening when the phone isn't ringing is best (I do live by myself though). I don't agree with the idea that offices with doors are an extravagance either. They are cheap compared to wasting everyone's time.

    3. Re:Eww .. those are his best?! by Spacezilla · · Score: 1

      b) it's quiet, the neighbourhood is quiet, wife is most likely asleep, it's quiet.

      Perhaps, but what I really want to know is: Is it quiet? :)

    4. Re:Eww .. those are his best?! by Anonymous Coward · · Score: 0

      My best time is early morning. Most people are still asleep, its quiet. I can think.

      My IM's are always off (phone same) when I'm 'coding'.

      But its not about the code. To me, coding is typing. If I've solved them problem, I will type the code. If I haven't solved the problem, typing random code will not help.

      What, exactly, is coding?

    5. Re:Eww .. those are his best?! by Anonymous Coward · · Score: 0

      not too many IM distractions

      Hey! an idea! Alt+F4

  29. 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.

    1. Re:Silence by networkBoy · · Score: 4, Interesting

      I like coding in my lab, after hours when nearly everyone has gone home.
      Janitor comes by around 7:30/8:00 and I thank him, listening to techno or classical, depending, I'll get more done in that span between 5:30 and 9:30 then many others in my department will get done in an entire week. Alas, the powers that be have banned overtime, so now I don't pump out as much code. To witt, here I am, as always in the afternoon...

      -nB

      --
      whois gawk date unzip strip find touch finger mount join nice man top fsck grep eject more yes exit umount sleep dump
    2. Re:Silence by moderatorrater · · Score: 1

      Agreed. Headphones and music are better than listening to people, but I'll take silence almost every time to wearing headphones. Music can help me by soothing parts of my mind that end up distracting me, so speakers can often add something to the programming environment, but it's definitely not a majority of the time.

      The best place for me, then, is my home desktop where I have dual 22" monitors, speakers, a good internet connection, and the ability to program until I'm the only person awake in my house and probably the block. Solitude allows me to exclude everything and focus on the task at hand, and that's the optimal condition for me. When I have to listen for someone coming in or talk to someone or in any other way watch for and respond to external stimuli, my output goes down.

      And, of course, that all goes away when the stress rachets up and I need to focus and fix the problem ASAP. That's a mode that I can only work in for about 1 day before it starts to burn me out, but there's no more productive mindset, and that mindset is one that automatically excludes everything for me.

      So, in summary, what was the question? I got sidetracked.

    3. Re:Silence by Like2Byte · · Score: 4, Interesting

      listening to techno or classical, depending, I'll get more done in that span between 5:30 and 9:30 then many others in my department will get done in an entire week.

      I totally agree. When I was able to listen to my iPod (before I lost my tunes - doom on me) I listened to Classical, techno and trance. Wow! Depending on my mood, I'd get more code written than at any other time. It didn't matter what idiot-fest was going on around me, either. Plug me in and BAM! I'm gone. I feel I got more work done in a year at one of my coveted jobs than at 4 years at others.

      Music is where it's at. And, no - I wasn't in band in high school.

    4. Re:Silence by Anonymous Coward · · Score: 2, Funny

      After sex. My best code, and best ideas in general, always came after some hardcore sex with my girlfriend or any of my other female friends.

    5. Re:Silence by Alexandra+Erenhart · · Score: 4, Interesting

      Agree. When I'm in silence, I have so much stuff inside my head that I end up being in my own way when it comes to thinking. Music puts my ideas in order and it lets them flow, like the spice, oh yeah. Also it has to be music with no lyrics, cause I end up singing and I can't sing and code. Must be something in my brain :P.

    6. Re:Silence by Anonymous Coward · · Score: 0

      Mod parent troll. Or me. Nah... parent!

    7. Re:Silence by commodore64_love · · Score: 2, Interesting

      >>>Anywhere there is silence.

      Anywhere there is noise.

      Noise helps distract me from the voices in my head. Just joking. ;-) But seriously, I like my television turned-on to something random like Animal Planet or the History Channel, while I lounge in my recliner. It helps me feel like I'm just doing a hobby, like when I was a teenager, instead of doing work. The code flows.

      I hate silence; it's boring.

      --
      "I disapprove of what you say, but I will defend to the death your right to say it." - historian Evelyn Beatrice Hall
    8. Re:Silence by hviniciusg · · Score: 2, Funny

      You must be new here, that does not happen whit us very frequent

    9. Re:Silence by seek31337 · · Score: 3, Funny

      I think he's offering, dude!

      --
      No SIG for you!
    10. Re:Silence by xaxa · · Score: 1

      I like coding in my lab, after hours when nearly everyone has gone home.

      Same here. That's when I get the most done. It doesn't matter if I'm alone -- so long as the others are doing the same. There needs to be no phone calls, no one walking around, no talking. But I don't like staying late, so I tend to go home :S
      I keep meaning to go in early, since I can get the same effect if I'm in the office at 6.30, with the additional advantage of having many hours of daylight left when I leave at 15.00. Hasn't happened yet though...

      Music helps. The right music can block out just enough outside noise to get the quiet office effect. I prefer psytrance (especially Astral Projection) for coding, or else other electronic music I like and know really well (so various industrial/ebm/futurepop).

      An airplane would probably be OK. I've never tried. I've tried coding on an intercity train (1 hour journey) and failed, looking out of the window at the countryside roll past was too distracting.

    11. Re:Silence by Grishnakh · · Score: 1

      Airplane? No way. Being jammed up next to strange people with my hips touching theirs would definitely eliminate all productivity for me.

    12. Re:Silence by LBt1st · · Score: 1

      I'm the same way with lyrics. Especially rap (which I enjoy otherwise). I'll get caught up in the words and be unable to code. Jazz, trance, new age, anything mellow like that and I'm a happy coder.

      Oddly enough, I also do art (game dev) and my musical needs are completely opposite. It's like my left brain will get board and need something to feed on. That's when I listen to rap or other lyrical music. If not that, it'll be talk radio.

    13. Re:Silence by YojimboJango · · Score: 1

      Wow, I thought I was the only one that was weird like that. I definitely need jazz-trance-classical for coding and something with a fast paced rhythm and lyrics for drawing. Hurray for us mixed up left/right brain types.

    14. Re:Silence by Provocateur · · Score: 1

      Me? I put an mp3 of a motivational speech. But it's not your typical motivational speech. It's the one from this movie: http://www.google.com/url?sa=t&source=web&oi=video_result&ct=res&cd=4&url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dy-AXTx4PcKI&ei=dy7tSfroFOGLtgfZ-MDGDw&usg=AFQjCNFtelJ2xZHNg8bjv25DZJB-4jsk4Q

      'Third prize is you're fired. You get the picture? You laughing now?'

      --
      WARNING: Smartphones have side effects--most of them undocumented.
    15. Re:Silence by Anonymous Coward · · Score: 0

      'Third prize is you're fired. You get the picture? You laughing now?'

      Ah, you must have been listening to The Glengarry mix and the Ultimate Abuse Mix.

      If you enjoy motivational speeches or techno for getting into the coding zone, you'll like either mix. If you like 'em both, you'll be in heaven.

    16. Re:Silence by Like2Byte · · Score: 1

      Yes, exactly!! :P

    17. Re:Silence by Anonymous Coward · · Score: 0

      Why don't you ever put your sig in the sig field? You think everyone wants to look at that in every single one of your posts?

    18. Re:Silence by Rasperin · · Score: 1

      I have to agree, headphones are my salvation, but still I'm better at getting work done between 5 and 10 (with g. I can churn a weeks worth of code in those 5 hours. I'd happily work till 9am to 10pm Monday-Wednesday and take the other days off in a week.

      --
      WTF Slashdot, why do I have to login 50 times to post?
    19. Re:Silence by jrumney · · Score: 1

      The key thing for me seems to be no vocals. Depending on the type of work that needs doing, it might be fast paced techno or chilled out dub. Some classical is OK, but the dynamics can sometimes be distracting - the repetitiveness of dance music helps keep it in the background where it basically serves to block out background noise and set the thinking pace - slow for creative work, fast for putting preformed ideas down in code.

    20. Re:Silence by Bill+Dog · · Score: 1

      Also it has to be music with no lyrics, cause I end up singing and I can't sing and code.

      Just don't sing. (Your cubemates will appreciate that too! :) I found in college that I could listen to music with lyrics while doing math or coding, but not while writing an essay. That is, (English, intelligible) lyrics interfere with my attempted simultaneous English sentence construction, but not with my manipulation of numbers or logic. Similarly, my summer jobs were in counting cash at a theme park, and I could gab away with coworkers while counting, but if someone started calling out random numbers...!

      --
      Attention zealots and haters: 00100 00100
    21. Re:Silence by Anonymous Coward · · Score: 0

      ...listening to techno or classical... To witt, here I am, as always in the afternoon...

      -nB

      On 4/20, at 4:19.. in your happy place?
      stoner.

    22. Re:Silence by Anonymous Coward · · Score: 0

      Yeah, but I need at least one good project from you a year James. When was the last time you delivered working code? Yes, 2003. It's getting beyond a joke. I've hired some hookers, you can use conference room 3C.

    23. Re:Silence by Anonymous Coward · · Score: 0

      on a similar note have you ever noticed that after coding for 10 or 12 hours you have trouble speaking to humans for a little bit? happens to me all the time, almost like i completely close the process used to speak english in order make more room in memory for all the programming syntax, then it takes a while to pull english back into memory...

    24. Re:Silence by BlackArrow · · Score: 1

      I hate it when people talk behind me while I am trying to code. Man that pisses me off.

      --
      "If you only knew the POWER of the DARK SIDE!"
    25. Re:Silence by supernova_hq · · Score: 1

      That really doesn't help any of us...

    26. Re:Silence by supernova_hq · · Score: 1

      Some people have multiple personality disorder, I have duplicate personality disorder. I'll be trying to work and have my own internal voice going over problems in 10 different projects. Music gives those other voices something to listen to while my conciousness gets some real work done.

    27. Re:Silence by VeNoM0619 · · Score: 1

      Also it has to be music with no lyrics, cause I end up singing and I can't sing and code. Must be something in my brain :P.

      I've found foreign music tends to help with that. Once you start learning syllables to the songs... well it won't matter, cause you will have to try writing those syllables.

      --
      Disclaimer: I am not god.
      We may not be created equal
      But we can be treated equal.
    28. Re:Silence by Anonymous Coward · · Score: 0

      Actually, most of the stuff i do at work i do best with music in the background... EXCEPT for coding. When im coding, i expect total silence. Music just distracts my brainflow, makes me forget what the hell im doing, and the constant switching of the rhythms sometimes annoy me.

      No, I expect to hear only my voice in my head, that explains to my fingers (really) what they are supposed to be typing. I like to be following the course of the program by thinking in my head what the computer is thinking at the same time. I once RAN OUT OF BATTERY in my mp3 player with me not even listening to a single song. it just stood there, playing, but unplugged from my ears.

  30. Baby Dolls by Virtucon · · Score: 1

    But my screen keeps getting greasy.

    I always have to remember to bring Windex, paper towels and lots of singles and fives.

    --
    Harrison's Postulate - "For every action there is an equal and opposite criticism"
  31. The Zone by clinko · · Score: 4, Insightful

    I don't have a place, I have music and caffeine. If I hear old Crystal Method or Orbital, I immediately think of late nights in the zone with Mountain Dew and Code.

    The only enemy of "The Zone" were morning birds.

    If I heard birds chirping, I knew I didn't have much time left before my mind would go.

    1. Re:The Zone by Just+Some+Guy · · Score: 1

      I don't have a place, I have music and caffeine. If I hear old Crystal Method or Orbital, I immediately think of late nights in the zone with Mountain Dew and Code.

      s/Mountain Dew/Dr Pepper/ and I could have written that. "Vegas" is still my go-to music for urgent deadlines.

      --
      Dewey, what part of this looks like authorities should be involved?
    2. Re:The Zone by Anonymous Coward · · Score: 0

      Get busy child!

    3. Re:The Zone by Nigel+Stepp · · Score: 1

      I used to code to Orbital as well; I think I owe my final OS project to Snivilization.

      Lately I like Melodium.

      --
      4096R/EF7BAFA6 79E1 DF98 D09D 898F 9A11 F6F0 DDDC 23FA EF7B AFA6
    4. Re:The Zone by codemonkeyzero · · Score: 1

      Yes! Crystal Method FTW. Gotta have something well paced with a steady tempo and few to no lyrics (or repetitious lyrics work too). Can't be anything I know how to play (I play bass in a rock band too, so if it's something I know I'll start air-bassing instead of coding).

    5. Re:The Zone by tiggertaebo · · Score: 1

      Me and a friend at uni always knew we were on a proper epic coding run when one of us would say "the damn birds have started"

    6. Re:The Zone by abe+ferlman · · Score: 1

      You just need to work farther north. In some parts of the country you could spend almost six months in the zone with nary a Peep 'til Easter.

      --
      microsoftword.mp3 - it doesn't care that they're not words...
  32. The basement?!? by mcrbids · · Score: 4, Funny

    While the basement is quite good for me, I always get interrupted by my partner as this is her favorite place too. What we do while there is just not relevant to Slashdot's audience at the moment. But I will say I hardly get anything done on the coding front when she drops by.

    What... does your mother make you pick up your dirty socks?

    --
    I have no problem with your religion until you decide it's reason to deprive others of the truth.
    1. Re:The basement?!? by machine321 · · Score: 1

      What... does your mother make you pick up your dirty socks?

      Is "pick up your dirty socks" anything like a "dirty Sanchez"?

    2. Re:The basement?!? by BollocksToThis · · Score: 2, Funny

      Please don't ever tell me about your childhood.

      --
      This sig is part of your complete breakfast.
  33. It's a Zen thing by $RANDOMLUSER · · Score: 1

    When your mind is very very quiet, just watching your hands work. You could be changing your oil or knitting or chopping vegetables, it really doesn't matter. It's the stillness.

    --
    No folly is more costly than the folly of intolerant idealism. - Winston Churchill
    1. Re:It's a Zen thing by try_anything · · Score: 1

      That's the perfect state for when there's a clear path ahead. The conscious mind has a role in creative problem-solving, but sometimes it doesn't know when to get out of the way and let your instincts handle the trivial problems in the marvellously efficient way they have.

    2. Re:It's a Zen thing by poopdeville · · Score: 1

      Mindlessly pounding out code makes you a bad programmer. Watching your hands work make you a bad typist.

      --
      After all, I am strangely colored.
    3. Re:It's a Zen thing by harry666t · · Score: 1

      Coding as a form of meditation... Programming is a "thought-bound" task. And meditation means letting off of reasoning mind. This could be very interesting.

    4. Re:It's a Zen thing by Anonymous Coward · · Score: 0

      You look at the keyboard when you type?!!

  34. My happy place by moniker127 · · Score: 1

    My happy coding place is in the middle of the afternoon, inside, with all the window blinds drawn and lights off with the humidifier on max and a fan blowing at me.

    Or, inside a cave is good too.

    1. Re:My happy place by Anonymous Coward · · Score: 0

      My happy coding place is in the middle of the afternoon, inside, with all the window blinds drawn and lights off with the humidifier on max and a fan blowing me.

  35. Work! by benjfowler · · Score: 2, Insightful

    My favourite coding place? Well, I code for a living, and I have to say work, without a doubt. I'm far too easily distracted -- work is the worst place to get stuff done, except for all the others.

    That said, badly-designed workplaces can destroy productivity. If your workplace is anything like mine, where your employer doesn't give a rat's arse about their developers' productivity, everyone will be sat at packed-in "open plan" offices, where every stray, stupid remark, every loud phone call, every meeting and every joke (and resulting braying laughter) meld together to create a totally useless work environment.

    Perhaps that question should be rephrased to "what time of day do you get most work done?". Given the City's workaholic culture, most folks leave the office at 7.30pm, so my productivity peaks some time after that.

    Yeah, I'm a sad bastard with no life :-)

    1. Re:Work! by johnlcallaway · · Score: 2, Interesting

      I prefer my sad little office cubicle also. Both my home and work computers are similar, but I like my tiny little cubicle with no distractions. (I was recently asked if I wanted to move to a larger cubicle and said no, the extra space just mean more room to pile crap.) I can tolerate some of the low level voices I guess because I've worked in this type of environment for so long. I can't really deal with headphones on all day.

      However .. many years ago (25??) my favorite place to debug was Pizza Hut. I would take a couple stacks of green-bar memory dumps, order up a pizza and pitcher of Pepsi, and sit for hours pouring over them with a highlighter, pencil, and steel ruler. The place would let me take over a booth and filled the pitcher when it ran out. The waitresses were always attentive because I always left a good tip and was polite.

      Ahhh....the good ole days.

      --
      I rarely read replies, it's my opinion and if you thought about your opinion a little more, I'm OK with that.
    2. Re:Work! by Pengunea · · Score: 1

      Work is both the best and worst place for me.

      The good: I have my team on hand so I can communicate freely and make sure everyone is on task. The work environment works as a reminder of the achievements I've gained to get here and feels a bit more "pro". Good days go amazingly and there's high-fives all around.

      The bad: People yapping on the phone, resounding office sounds, uncomfortable temperatures due to finicky H-VAC, and all the rest of that good stuff that comes with an environment you can't control.

      The ugly: I'm seated in a cubicle right next to the break room with my back to the door so my monitors are visible. My co-workers are constantly going back and forth right behind me all day. I run a professional ship when I'm in the office and yet that odd feeling of eyes peeking at my screen as people pass by is starting to get to me. It's making me one very paranoid android.

      So much for being senior. The only people who have worse seats are the management staff next to the colour printer.

      --
      Starkle, starkle, little twink.
    3. Re:Work! by Anonymous Coward · · Score: 0

      "open plan" offices, where every stray, stupid remark, every loud phone call, every meeting and every joke (and resulting braying laughter) meld together to create a totally useless work environment.

      Cubicle walls that don't even reach higher than the top of the monitor sitting on your desktop PC ... being placed in a room with women that work in a department that requires them to be talking to clients on the phone all day. When they aren't just talking to each other anyway. And when they are quiet they have the radio on all day anyway.

      I'm right there with you.

  36. Beer by Anonymous Coward · · Score: 0

    Drunken mistakes aside, drinking relaxes me to the point where I can get really creative and get a lot of stuff done. Only if I could drink at work...

    1. Re:Beer by Anonymous Coward · · Score: 1, Insightful

      Stoner mistakes aside, toking relaxes me to the point where I can get really creative and get a lot of stuff done. Only if I could get high at work...

    2. Re:Beer by rfreedman · · Score: 1

      Drunken mistakes aside, drinking relaxes me to the point where I can get really creative and get a lot of stuff done. Only if I could drink at work...

      http://imgs.xkcd.com/comics/ballmer_peak.png

  37. 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.

    1. Re:Best Place to Code by Anonymous Coward · · Score: 0

      On behalf of the testing department, I would like to thank you for cranking out 400% more crappy code for us to test.
      Because of you, we have had to hire more testers to handle the load.

    2. Re:Best Place to Code by Anonymous Coward · · Score: 0

      I assume you're talking about productivity re: diarrhea vs code, and it's certainly the food.

    3. Re:Best Place to Code by jasper_amsterdam · · Score: 1

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

      Is that because you are really four people on one salary?

      --
      Let's put the genes back in Genesis.
    4. Re:Best Place to Code by Anonymous Coward · · Score: 0

      Must be the food. If I was relegated to eating that crap I wouldn't take breaks either...

  38. From experience by NeoSkandranon · · Score: 1

    within arm's reach of a pint of stout.

    --
    If you can't see the value in jet powered ants you should turn in your nerd card. - Dunbal (464142)
    1. Re:From experience by Anonymous Coward · · Score: 0

      Agreed, although I usually start with coffee. I get restless after about four cups, though and that's when I eat a pastrami w/swiss and switch to beer. I get sloppy after about four beers though and that's when I stop and go swimming.
      So hire me and you'll get a bell-curve of quality spread over a six hour period. The trick is to spend the first two hours on the menial stuff (email, phone calls) so yo'll get a full day out of me.
      Telecommuting is fun!

    2. Re:From experience by NeoSkandranon · · Score: 1

      Who do you work for again?

      --
      If you can't see the value in jet powered ants you should turn in your nerd card. - Dunbal (464142)
  39. Inside my head... by Synchis · · Score: 1

    My coding happy place is just that... inside my head. I can code anywhere, anytime. Give me some quiet music and a set of headphones and I can escape all distractions and make the whole world disappear.

    My wife hates it when I enter that state because she has to all but hit me to get my attention. A state of concentration that intense is when I do my very best coding. It doesn't matter where I am, as long as I can get into that state.

    --
    Thomas A. Knight
    Author of The Time Weaver
    1. Re:Inside my head... by b4dc0d3r · · Score: 1

      "anytime, anywhere" is a little different from "some quiet music and a set of headphones", my internet friend.

      What if your headphones become dysfunctional - are you still "anytime, anywhere"?

      Construction outside your house at 2am with a hangover beginning - still "anytime, anywhere"?

    2. Re:Inside my head... by treeves · · Score: 1

      Construction outside your house at 2am?

      Where the hell do you live? Hell?

      --
      ...the future crusty old bastards are already drinking the Kool-Aid.
    3. Re:Inside my head... by rfreedman · · Score: 1

      Yes, "Inside my head" was what I was thinking too, when I read the question.

      Basic physical requirements are:
        - relative quiet
        - endless supply of hot beverages - good coffee is best, though the rot-gut stuff from the bottom of the pot will do in a pinch, as will good strong tea..
        - a bathroom (see above) :-)

      Quiet, instrumental classical music makes it a perfect environment - ambient if I can get it, headphones if I have to.

      On the other side, productivity killers include:
      - phones ringing (esp. if I need to answer one)
      - people talking (esp. if they expect an answer)
      - constant interruptions for status updates

  40. 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!
    1. Re:Fire alarm? What fire alarm? by Anonymous Coward · · Score: 0

      To be fair, if you could hear him SAY it as opposed to YELL it, then the company could be sued for negligence.

      Every place I've ever worked has had a fire alarm so loud it borders on painful (ironically, as required by occupational safety law).

    2. Re:Fire alarm? What fire alarm? by Anonymous Coward · · Score: 0

      Pssst. That's a clue that you need your hearing checked. Not that you were super productive and "in the zone".

  41. 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...

    1. Re:with my boss... by monkeySauce · · Score: 4, Funny

      I would totally code with my boss. If she was leaning over my shoulder and inviting me to her bedH^H^H reminding me about the project schedule, I could code like all of Windows 7 before lunch.

      So I guess my coding happy place is where the women are hot and the project milestones involve sex.

    2. Re:with my boss... by Anonymous Coward · · Score: 0

      That's ok, you can post the truth after your boss leaves....

    3. Re:with my boss... by Javaman59 · · Score: 1

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

      Hi! Looking for a job? The last guy was real no-hoper.

      --
      I'm a software visionary. I don't code.
    4. Re:with my boss... by Anonymous Coward · · Score: 0

      What kind of crappy code can you deliver while being distracted by hot women?

    5. Re:with my boss... by monkeySauce · · Score: 3, Funny

      What kind of crappy code can you deliver while being distracted by hot women?

      Didn't I say Windows 7? I thought I said Windows 7.

    6. Re:with my boss... by Anonymous Coward · · Score: 0

      There is worse! Coding with my idiotic assistant constantly blabbing stupidities 'trying to help' over my shoulder is much worse.

      Having him state 'I was just researching that same solution' after the whooshing sounds my code makes over his head have died down and the smoke around him has settled is still worse.

      Just have several hard stares at that idiot and you break their will for good. Muhaha. Ding! Next assistant please! What? No more assistants? Bliss!

      I look like a bastard boss to them. I dislike idiots. I break idiots.

  42. Obvious by monkeySauce · · Score: 1

    On the throne. Nothing clears my head and lets me write beautiful code like a mass-evacuation.

    1. Re:Obvious by Anonymous Coward · · Score: 0

      I've been trying to achieve this for days. Any advice?

    2. Re:Obvious by Pugwash69 · · Score: 1

      Vindaloo?

      --
      Pro Coffee Drinker
    3. Re:Obvious by b4dc0d3r · · Score: 2, Funny

      Search the google for mindfuck pictures. When you see it, you'll shit brix.

    4. Re:Obvious by cptnapalm · · Score: 1

      Try not being anal retentive.

    5. Re:Obvious by Anonymous Coward · · Score: 0

      and fast 'net access for googling for solutions to problems rather then figuring them out by myself.

      Try googling "grammar checker".

    6. Re:Obvious by rfreedman · · Score: 1

      prunes

    7. Re:Obvious by Locke2005 · · Score: 1

      Try googling "anal retentive". ;-)

      --
      I've abandoned my search for truth; now I'm just looking for some useful delusions.
  43. Happy Gilmore by prelelat · · Score: 1

    My happy place is like that scene off of Happy Gilmore where hes got beer women and stuff...

    Really though I find that my best coding comes after sitting down in front of a whiteboard planning things out(sometimes I can do it in my head) so that I know exactly what needs to be done. I find it puts me in a good mood to have a clear idea of what's going on and I can focus on what needs to be done. It also helps with the quality of my code as I'm not jumping from one idea to the next trying not to patch things together. I've had bad days where I thought I could do a section in my head and really wasn't on the ball and ended up rewriting it for my own sanity.

    I haven't don't any serious programming for a few months but every time I do programming it's self puts me in a good mood. It makes me wonder if it would be the same if I did it all the time as a job.

    1. Re:Happy Gilmore by the+grace+of+R'hllor · · Score: 1

      Seconded. The best place to code is a mental image that has a giant arrow pointing to the place you need to go. Those times when requirements shift over lunchtime, or meeting-filled days, those made me glad we had a Wii at the office.

  44. In an alley by ReallyEvilCanine · · Score: 0, Offtopic

    With a spoon resting on a flat surface and a used syringe in one hand, pulling the rubber band off of my bicep.

    1. Re:In an alley by dubbreak · · Score: 1

      As trollish as your post is, it brings up the point that often drug use and programming go hand in hand.

      Most of us would admit to using stimulants daily (caffeine), and I'm assuming most have programmed under the influence of alcohol (which, in my experience, resulted in poor code quality).

      The west coast university I attended (located in BC), many students in the enginering/csc faculty would partake in "herbal remedies". I'm sure there is a big festival on campus right now considering the date (4/20). Regardless of the weather every wednesday there would be a gathering at 4:20 near the center of campus. I'm quite sure there were many assignments and projects initiated and completed under the influence of marijuana as it was part of the culture.

      Looking back the the 60's and SRI, they did a variety of drugs and are most likely the ones responsible for the personal computer as we have it today (mouse, overlapping windows etc).

      What "place" you are in isn't always a literal physical one.

      --
      "If you are going through hell, keep going." - Winston Churchill
  45. A hotel/motel by Sh1fty · · Score: 1

    I like coding somewhere where I don't have anything I have to do except code. A hotel/motel with wifi is a great place because it has very little distractions (people, chores,...) and it's extremely confortable. Having a king size bed or a couch just for yourself and your laptop can help your concentration. Unfortunately, this costs money, so this isn't a good solution for everyday coding.

  46. One major thing: music by hack++slash · · Score: 1

    The right music can really get my grey cells lighting up like a christmas tree, most notably the weekly two hour radio show from Armin Van Buuren which just had it's 400th episode; A State of Trance

    --
    To do something right, you often have to roll up your sleeves and get busy.
  47. no physical place by El_Muerte_TDS · · Score: 1

    My happy place is where users know what they want. Where managers understand the project. Where sales people only sell existing and working stuff. Where developers know how to write clean code.

    1. Re:no physical place by genner · · Score: 1

      My happy place is where users know what they want. Where managers understand the project. Where sales people only sell existing and working stuff. Where developers know how to write clean code.

      What do you have to freebase to achieve that state of mind?

  48. 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.

    1. Re:Not really coding... by zarthrag · · Score: 1

      Don't you just *love* those? It's like working and slacking-off all at the same time. If only I could do that in my cube :-)

      --
      Why can't all fpga/microcontroller manufacturers just release free optimizing compilers???
    2. Re:Not really coding... by Ukab+the+Great · · Score: 1

      It's like working and slacking-off all at the same time

      Wouldn't the portmanteau of "Working" + "Slacking Off" be "Wacking Off"?

    3. Re:Not really coding... by Anonymous Coward · · Score: 0

      If I could only do THAT in my cube!

    4. Re:Not really coding... by ydrol · · Score: 1

      A few times I've had to go to bed with a pen and pad close by because to much stuff was swimming about in my head,
      which I often forgot if I tried to commit to memory.

      Then there are the times you get you and go for a walk and its like a damascus moment.

      I think to really crank out code efficiently you need that preparation/scribble time where you have everything mapped out, then you hit the keyboard.

      My least productive times are when I'm trying to solve a problem at the keyboard. Roll on that minority report UI, but in the mean time a pad and paper can be very effective..
      Maybe learning to touch type will help remove the distraction of the keyboard, but computer languages have too many symbols that would still reduce the effectiveness of touchtyping I guess.

    5. Re:Not really coding... by cptnapalm · · Score: 1

      That's what the company bathroom is for :)

      I should probably post this anonymously... but I like living on the edge!

    6. Re:Not really coding... by Anonymous Coward · · Score: 0

      You went back to sleep for another hour?

    7. Re:Not really coding... by Anonymous Coward · · Score: 0

      When it comes to solving algorithmic problems(not cranking out code) I find that I do it best either while sleeping(and I'll wake up in the middle of the night and just *need* to grab my laptop because I have a solution in my head) or while showering... I don't know why.

      Last year I went to the ACM ICPC regionals with a team from my university. There was this one problem that I only read fast before handing it over to a teammate during the compeition. He didn't solve it. 3 days after being back home, I woke up with the answer in my head for some reason(I hadn't re-looked at the problem since the competition). I grabbed my laptop and coded it up and it worked, if only I had spent more time on it 3 days earlier >_>

    8. Re:Not really coding... by immakiku · · Score: 1

      I feel like we might be talking about the same thing. It was actually a miserable feeling as I was sleeping that day - like I was struggling to deconstruct the problem in my dream while at the same time keeping all the parts of it in my dream memory. And every "option" I came up with during sleep was painful because if wrong, I would have to lose some dream memory and reconstruct my work up till that point.

  49. Cube, late, quiet, music by dazedNconfuzed · · Score: 4, Insightful

    Best? Coding in my cubicle, from 4-11PM, trance/techno playing at moderate volume, and absolutely no interruptions. Productivity is amazing.

    Unfortunately, for no articulable reason I'm required to work 8AM-5PM, interruptions are constant (walk-in/stand-up meetings happening constantly, PA system calling people, factory running across the hall, doors never stay closed. Productivity is ... well ... go figure.

    --
    Can we get a "-1 Wrong" moderation option?
    1. Re:Cube, late, quiet, music by oldhack · · Score: 1

      Hah, the dot com environment.

      --
      Fuck systemd. Fuck Redhat. Fuck Soylent, too. Wait, scratch the last one.
    2. Re:Cube, late, quiet, music by timeOday · · Score: 1

      I thought the dotcom environment was 8-5 AND 5-1.

    3. Re:Cube, late, quiet, music by mowall · · Score: 1

      ...factory running across the hall...

      Woah, that'd totally blow my concentration!

    4. Re:Cube, late, quiet, music by oldhack · · Score: 1

      Maybe at those dot com that actually made some money. Personally, I kept banker's hours. Ah, the memory... :-)

      --
      Fuck systemd. Fuck Redhat. Fuck Soylent, too. Wait, scratch the last one.
  50. Limited interruptions by J-1000 · · Score: 1

    I don't code, but I can describe my best work environment. In a cube, plenty of activity in the building (not after hours), headphones, coffee, and limited interruptions. But I also need coworker interactions, provided they pertain to the subject being worked. It helps if my tasks are spelled out early in the day. NOT a huge conference call with some clueless project manager, mind you. Just a conversation among coworkers. Nothing takes me out of my productivity mood like a buzzword-laden project management meeting.

    1. Re:Limited interruptions by 21mhz · · Score: 1

      I have actually used some of the more massive meetings as an excuse to do some unobstructed coding (when I'm at my workplace, people always find me for something).

      There's one other problem though: I'm prone to cursing out loud when I see something wrong or surprising in the code. Does not sound so well in a crowded auditorium...

      --
      My exception safety is -fno-exceptions.
  51. Fact by supajerm · · Score: 1

    Best coding possible is done in the bathroom. How much more comfortable can you be than on the man-throne. More often than not most of my "EURIKA!" moments happen when I take a quick bathroom break away from the problem. Yeah the cubical at work gets the job done most of the time, but rest assured when thereâ(TM)s a problem I can't work out at the desk the solution is 99% the time resolved by the time I finish a bathroom break. Thus the bathroom is the perfect "Coding happy place", comfortable and relieving side note: full-time programming may not be best suited in the bathroom and would probably be frowned upon in a general business environment.

  52. At work, in my cube. by brunes69 · · Score: 1

    If I am at home I have way too many distractions or potential distractions. The TV, my movies, my games, the kitchen, are all to close by. I only ever get real work done, at work. I have even driven in on the weekend to work on my own side projects sometimes.

  53. In a good team by decipher_saint · · Score: 4, Interesting

    A tight team of bright progressive individuals has always brought out the best in my work.

    Crappy co-workers, moronic "hands in" managers, noise and meetings that don't produce anything are utter poison. Obviously interruptions of any kind are deadly to productivity, but sometimes that's part of the job and is usually profitable.

    I guess what I'm saying is my productivity is directly related to who and not where.

    --
    crazy dynamite monkey
    1. Re:In a good team by Lonewolf666 · · Score: 1

      Good point about the environment. Let me add one about the project:
      A clear goal that brings meaningful improvement, as opposed to random flavors of the week.

      Of course, a good team (including the manager!) is more likely to give you goals that make sense :-)

      --
      C - the footgun of programming languages
    2. Re:In a good team by decipher_saint · · Score: 1

      You are dead on there!

      --
      crazy dynamite monkey
    3. Re:In a good team by korpique · · Score: 1

      Thank you for writing my viewpoint for me.

      My jobs seem to be increasingly about solving problems with bright colleagues rather than stomping away untested code.

      Then again, when you have your problems solved and only tests and code to write, I've found commuting most effective. Hands free, no-one requiring your attention. I'd rather not drive a car (not even a cdr) to work, that would slow me down tremendously.

      --
      I was the real korpiq until I woke up clowned.
    4. Re:In a good team by boredinspired · · Score: 1

      I couldn't agree more on this. It is very important to be working with like minded sound headed people who know what they are doing. Even if you are in one of the best workplace layout with checked sound levels and your choice of music playing and all of the world's caffeinated beverages at your disposal ... and the person who they appointed as the 'Senior Java Architect' doesn't know what a hashcode is supposed to mean ... you are in a highly glorified hell. (and I was there recently ... and glad that I am not in there any more)

  54. little splifta lotta cola by nexie · · Score: 0

    tiny splifter to make the brain melkt around the syntax and plenty of coca cola to keep the urine flowin, not i didnt say coke in the reply not too much splifta or it all falls apart and a clean desk and room, gotta be tidy in the room, tidy room tidy mind bo sho fizzle n

  55. Kitchen table... by __aaclcg7560 · · Score: 1

    When I'm working on my websites from home, always the kitchen table with the MacBook. The kitchen table is also useful opening those door stoppers I paid $50 USD for.

  56. Quiet, cool, with a warm drink. by Nakor+BlueRider · · Score: 1

    I work best usually in the late evening through the night. Less distractions. I prefer it to be cool, and like to have a mug of coffee or hot chocolate. If there's talking or noise around me I'll listen to music to drown it out.

  57. Night by Farlan · · Score: 1

    1-3AM, enough said!

  58. My ideal coding place by XxtraLarGe · · Score: 1

    Ideally, I'd be in a sound-proof room, and my computer wouldn't have any internet access or any games installed. I'm easily distracted and lack self-discipline. Maybe I just need to get a prescription for Ritalin.

    --
    Taking guns away from the 99% gives the 1% 100% of the power.
    1. Re:My ideal coding place by cptnapalm · · Score: 1

      I got an UltraSparc laptop. Cured the game-playing problem :)

  59. In all seriousness anywhere with a fresh pint. by zbend · · Score: 3, Insightful

    It sounds like a joke, but I seriously code best with a gentle beer buzz, my boss will never believe me, but its true.

    1. Re:In all seriousness anywhere with a fresh pint. by dargaud · · Score: 1

      Here, fast, show the Balmer peak to your boss as a justification!

      --
      Non-Linux Penguins ?
    2. Re:In all seriousness anywhere with a fresh pint. by Odin+The+Ravager · · Score: 1
    3. Re:In all seriousness anywhere with a fresh pint. by Anonymous Coward · · Score: 0

      So, I was trying to find a particular XKCD comic for this post, but couldn't find the right one. So, I chose this random one instead: http://xkcd.com/149

    4. Re:In all seriousness anywhere with a fresh pint. by Just+Brew+It! · · Score: 1

      No argument here. But then, you could've probably guessed that from my nick. :D

      (FWIW I've been coding for ~30 years, and brewing my own beer for about 15!)

    5. Re:In all seriousness anywhere with a fresh pint. by Anonymous Coward · · Score: 0

      http://xkcd.com/323/

  60. Heavy Metal.... Loudly by gillkm · · Score: 1

    After I get going in the morning, I just fire up Songbird and blast the heaviest metal I have. Metallica, Six Feet Under, Slayer, Cannibal Corpse, Deicide, whatever. For some reason, and it probably has to do with the ADHD, it just puts me in that perfect groove for slamming out my best code. That stuff for a time and then it's on to some John Coltrane or Johnny Winter for a while. Back and forth once or twice a day.

    I don't know, but heavy, fast paced thrash metal just puts me in that perfect mindset... Just had to make sure I got good earphones so I didn't annoy the hell out the people in the adjacent cubicles!

    --
    I don't like sigs... I don't use it...
    1. Re:Heavy Metal.... Loudly by NeoSkandranon · · Score: 1

      Check out Stormwarrior, Ensiferum, Wintersun, Eluveitie, and Nile, all favorites on my at work playlist.

      --
      If you can't see the value in jet powered ants you should turn in your nerd card. - Dunbal (464142)
    2. Re:Heavy Metal.... Loudly by cptnapalm · · Score: 1

      Try Arch Enemy and (at least old) Entombed.

      Also, get Execute Them All by Unleashed. I love that song.

  61. I'm the most productive in my home office. by 1shooter · · Score: 1

    It's quite, close to the bed for a naps. The bathroom and kitchen are down right handy and I can work in shorts and a t-shirt. The dog loves to breakup the day with a little play and if it's nice outside I can move to the patio for some fresh air. I get way more work done than in the stupid work cubicle. Besides I have much better computers than my employer.

    --
    6F 9E A9 1E 96 9F 74 27 ED B8 81 6D 0C 4E 1E 78
    My other Sig is a 229.
  62. coding place by alxkit · · Score: 0

    in an ice cave, with tux as my power animal.

  63. Stevie Ballmer's lounge by bluefoxlucid · · Score: 4, Funny

    Because it's totally geared towards developers, developers, developers, developers!

    1. Re:Stevie Ballmer's lounge by cwike · · Score: 1

      I wouldn't sit around on the chairs for too long though.

    2. Re:Stevie Ballmer's lounge by GPLDAN · · Score: 1

      He leaves his sweaty armpit dress shirts down there, though.

    3. Re:Stevie Ballmer's lounge by kiyoshigawa · · Score: 1

      Too bad there's no chairs left...

      --
      So sayeth Tim.
  64. I, too, have had productive flights by Anonymous Coward · · Score: 0

    I've had some good coding runs while on a flight. I've also had good results at a "internet cafe" type setting, even with all the bustling crowds.

    One reason is that it's a neutral environment. There is no noise, motion, or otherwise that I amd required to divert my attention to (i.e no phone, no co-worker, no boss, no e-mail/IM/etc) - allowing me to completely mentally block everything out and concentrate.

    Yes, they don't sound like good places, and the environmental noise level might seem counter-intuitive. But since you know that there is nothing that will demand your attention - it actually works.

    1. Re:I, too, have had productive flights by CrazyTalk · · Score: 2, Informative

      The best piece of code I ever wrote was on a cross country flight. It was an integral piece of the project I was working on, and in a span of about 2 hours I had greater productivity than in most of the rest of the year put together. Of course, that was a long time ago before coach seats got so small that sitting comfortably let alone working became out of the question.

  65. Or by clovis · · Score: 1

    It writes the code or it gets the hose.

  66. Listening to smooth jazz at my desk by californication · · Score: 1

    Listening to smooth jazz at my desk helps me forget where I am and gets me in the zone, but that only lasts until I hit a wall trying to find a solution for a problem, or N hours pass and my brain starts to fade. At that point, the only solution is some sort of distraction, whether that be a walk around the building or some browsing of Slashdot.

    It's important that I'm more interested in the work that I'm doing than the things around me. If my work is enjoyable, then even hunger can't get me out of my zone. If my work becomes tedious, then I become more susceptible to the distractions around me.

    The benefit to being in a location other than work is that there are much fewer intrusive distractions.

  67. Sitting on the couch next to Scarlett Johansson by serutan · · Score: 1

    In other words, it's all in my mind.

  68. For me by squiggly12 · · Score: 0

    It can be anywhere I have a comfortable place to set laptop, comfortable chair, and the most important of them all, headphones!

  69. Sitting next to a chap called Jose Quervo by SpuriousLogic · · Score: 1

    and his wealthy uncle, Patron. Salt, limes, and sweet and sour are also welcome to help code.

  70. TV Room (Living Room) by twoshoes · · Score: 0

    I love for the room to be empty and a movie on that I've seen at least 10+ times (Matrix, Transformers, Billy Madison, whatever) so it's noise but it's not distracting. Then of course I need to have my trusty whiteboard next to me. If no TV Room - then it would be any place with a comfortable chair, good keyboard and mouse, dual screens and really comfortable headphones with the music at ELEVEN!

  71. Natalie Portman by Sephollyon · · Score: 1

    Inside of Natalie Portman

    oh, coding happy place...

    1. Re:Natalie Portman by KingAlanI · · Score: 1

      wouldn't you get your tool burned by the grits?

      --
      I listen to both RIAA and non-RIAA stuff if I like the music, tangential business/politics nonwithstanding.
  72. Anywhere, really by Tyr_7BE · · Score: 4, Interesting

    Back when I was in my undergrad I bought into the whole idea that "I need conditions to be pristine in order to create". Now, a few years spent working in industry, looking back on this view makes me feel like I was a bit of a diva. My brother is a musician and he claims something similar - when he was first starting off, he subscribed to the view that he needed his environment to get into a "creative zone". But the more he wrote music, the easier it got, to the point where he can do it just about anywhere without being affected too much.

    I mean really, if you're focusing that much on loop constructs and variable names that you can't do it anywhere except places where conditions are ideal, then I guess that's you. But for me, the really important parts like architecture strike me when they strike me. Usually when I'm going about my business doing the groceries, or in the shower, or on a bus, or something like that - whatever's been tumbling around in the back of my mind takes on some semblance of form, and pops to the forefront when it's damn well ready, not when the ambient light is at a certain strength and the atmospheric pressure is just so. I don't subscribe to the view that I need a "creative zone" in order to produce properly. Once I get hit with an idea, getting it out into code is just drudgery. That can be done anywhere.

    1. Re:Anywhere, really by Anonymous Coward · · Score: 0

      There's a difference between a "creative zone" and a "productive zone." Creativity (inspiration) can strike anywhere, but to get work done, having a proper environment really is helpful.

    2. Re:Anywhere, really by le_sean_moon · · Score: 1

      I have surprisingly gotten stoned enough to think that I "understand what slashdot is". I am definitely not producing my best, nor any code in this state.

  73. I agree with the airplane... by MadCow42 · · Score: 1

    I strangely understand the airplane comment - no email coming in, no internet to distract you, lots of white noise. I get a TON done on an overseas flight (it's my catch-up chance).

    I do know for sure that where I am now is not ideal... otherwise I wouldn't be on Slashdot posting this! :)

    MadCow.

    --
    I used to have a sig, but I set it free and it never came back.
  74. My happy coding place? by jockeys · · Score: 1

    Is found in the bottom of a bottle of scotch. seriously. for whatever reason if i am slightly buzzed, i get hyper and am able to focus really well.

    --

    In Soviet Russia jokes are formulaic and decidedly non-humorous.
  75. Alone. by pz · · Score: 1

    The best coding environment: one without any distractions whatsoever, no temptations, and all of the necessary information and tools at hand.

    And completely alone.

    Now, interestingly, for me, at times high-productivity solitude means sitting in my office with both inner and outer doors closed very late on a weekend night, and at times it means sitting in a busy bar with lots of hubbub, or on a plane, or on a train, or in an isolation booth at a library. The common thread is that I am expected to have essentially zero interaction with anyone else.

    --

    Put my fist through my alarm clock with its ding-dong death inside my ear. - The Blackjacks.
  76. Not location... by socrplayr813 · · Score: 1

    I don't really do any coding these days, but when I did, it was much more about my state of mind and lack of distractions. Specifically where I was didn't matter as much.

    Basically:
    Quiet, no people, no excessive noise. I had to be well fed so I'm not hungry and thinking about food. And if you want really GOOD code, I need to not have 50 other problems to worry about. Once those are met, it doesn't matter if I'm in my office, on the couch, or wherever.

    Of course, I draw the line at bed. That's reserved for things much more fun than coding.

    --
    The confidence of ignorance will always overcome the indecision of knowledge.
  77. Stoned by Anonymous Coward · · Score: 0

    I code best when I'm baked.

    Happy 4/20!

    (No shit)

  78. 30 inch monitors. by Sybert42 · · Score: 1

    More screen real estate.

    1. Re:30 inch monitors. by fdrebin · · Score: 1

      I use 4 - left->right - a 17" on the Mac Mini, a 22" wide + 1280 'regular' on the winders dev box, then another laptop to the right of that at 1400x1050, all connected up using synergy2 so I don't need to use the KVM switch much.
      Fortunately I have a wide U-shaped work area and all this fits in sanely (if barely).
      My employer only springs for 1280x1024, so I supply everything but the laptops myself. (Yes, I work from home, and love it- except for missing all the free meals and goodies in the office(s).)
      OTOH I get to do dev on Windows, Linux, and Irix.

      --
      Stupidity... has a habit of getting its way.
    2. Re:30 inch monitors. by Sybert42 · · Score: 1

      Work gives me two 1600*1200 that I put side to side. Gotta say I prefer the 30 inch (2560*1600) at home.

  79. Whenever the music goes away by masmullin · · Score: 0

    Music other than Heavy Metal. Once I no longer "hear" the music (ie I stop paying attention to the sounds because I am so "in the code"), I am in the "happy place"

  80. You'd love google by Wee · · Score: 4, Interesting

    They pack 4-5 developers inside these glass-walled cubes. So there's no end to the visual distractions. And then you have overcrowding in conference rooms, so people routinely host meetings in the offices. Or they merely dial in using their speakerphone. Lunch is always a good time because they make it super easy to grab a tray and take it to your office to eat. So if you get an office mate who likes to work through her lunch by slurping incredibly stinky Indian food, you're a very lucky guy.

    Most unproductive place in the world to try and think about coding, expect maybe a steel foundry or a slaughterhouse or a circus big tent.

    The only bright spot is that if you ask about places that might be a little quieter, they give you these really nice Sennheiser headphones. Not so good if you dislike having something on your head 10 hours a day, though.

    Toward the end there it got to where you'd instinctively know which interview rooms or whatever weren't take. If you dim your screen all the way down and shut off the light, you can get maybe four hours straight work in before it's back to the sights, sounds and smells of the cubicle zoo.

    Sounds like you'd fit right in. You should apply.

    -B

    --

    Ash and Hickory, straight-grained and true, make excellent bludgeons, dandy for the cudgeling of vegetarians.

  81. After a night of partying.. by spiffmastercow · · Score: 1

    I wrote some of the best code in my life as an undergrad the morning after a night of drinking and weed smoking. These days I abstain from drunkenness and being stoned.. Any the quality of my code suffers.

    1. Re:After a night of partying.. by Stratocastr · · Score: 0

      spiffmastercow , this is your boss. Come see me in my office, we need to get you productive for the next project..

      --
      Slashdot - I went there to fix their grammar that they're so bad at.
  82. in Japan by boristdog · · Score: 1

    Seriously. I got so much code written at our Japan office when I was over there for a couple weeks.

    Probably because the talking around me just sounded like white noise and my brain didn't feel like it had to process it.

  83. My coding? by CompMD · · Score: 4, Insightful

    My office, from 8am-5pm, with soft music playing on the speakers, overhead lights off, desk lights on, door open half way (I'm in a somewhat quiet hallway).

    Why 8-5? Because its my job, not my life.

    1. Re:My coding? by Imagix · · Score: 1

      And for some of us, we get paid to play. I'm a programmer/designer/etc for fun, as well as being paid for it.

    2. Re:My coding? by Jack9 · · Score: 1

      Anytime at home, with the TV on in another room, in bed, with a soda on my nightstand, the fan blowing on me, after a post-workout nap. Morning, noon or night, for an employer or for myself, it's what I like to do. Coding is a very important part of my life.

      --

      Often wrong but never in doubt.
      I am Jack9.
      Everyone knows me.
  84. You want me to access my happy place? by Anonymous Coward · · Score: 2, Insightful

    For starters: Don't make me feel like a criminal because I forgot my access card. Don't hire minimum wage jerks in uniforms to eyeball everyone suspiciously. Don't make me walk past 60 cubes just like mine so that by the time I sit down I feel like the worthless piece of interchangeable shit you obviously think we all are. Don't send me weekly emails reminding me that my every electronic move is logged. Get rid of those freaking eyeballs in the ceiling every 20 feet. Shove your 50 page human resource manual up your ass. Help me forget that working wasn't always like this and doesn't have to be now.

    See? I am starting connect with my inner muse already...

  85. Lab/Night by Chaymus · · Score: 1

    Contrary to what I expected to be the best environment, the computer lab in college was where I did my best work. Many nights I was at home, with my computer and had to drive for 45 minutes to go to the lab just to be free of entertaining distractions. Since entering the rat race while remote work is available I still prefer to come in late night and sit in a relatively empty office coding without distractions. I haven't tried much else, coding outside doesn't work too well for me and lobbies/public areas are too noisy. As far as mindset goes, I need a looming deadline and plenty of smoke-breaks to step away and rethink my work. There is something about being around productive people that pushes me to do more work as well. A group of students hacking away or a solid team lets me work longer and find motivation to keep going.

  86. any time, any place anywhere. by Pugwash69 · · Score: 1

    I work hardest with music playing, to cover the hum of the servers behind me in my office. I work most enjoyably from the summerhouse, cool breeze between my knees and ducks quacking before me. I work the most fanatically after several shots of bourbon on a laptop from the sofa.

    --
    Pro Coffee Drinker
  87. Typical by endianx · · Score: 1

    Lights out - cold Coke - melodic trance at an excessive volume. Location doesn't matter as I can't hear anything but the music, or see anything but the code.

  88. At work, late at night by MBGMorden · · Score: 2, Interesting

    Personally I've found that I get a lot more done at work, but late at night or on a weekend. If I'm on my home machine coding in my spare time, then I'm easily distracted. Something interesting comes on TV, I decide to log onto WoW for a bit, I get hungry and go for a snack, etc, etc. When I'm actually trying to work on a project I can wring MAYBE an hour to an hour and a half per night out of myself. And that's often done while tabbing back and forth between iTunes and other assorted apps.

    At work, during standard business hours, I have more legitimate distractions, but still distractions. Seems like somebody is always calling, or I have meetings to attend, etc.

    The times when I've noticed that I really tear through a to-do list is when I'm in my office late at night. The building is quiet, there is nobody to bug me, and my work machine has virtually no "fun" software installed on it. About all there is to compete with there is Slashdot and Penny Arcade :), which don't take up much time to check. I've literally had things that I figured would take me 2 weeks to complete that I've stayed an extra 4-5 hours one afternoon and completed in one swoop.

    --
    "People who think they know everything are very annoying to those of us who do."-Mark Twain
  89. My happy place by Is0m0rph · · Score: 1

    Is being left alone, headphones on, and good psy trance music playing. The beats and lack of vocals gets me focused. Whenever I have a lot of code I need to write that's what I do.

  90. Coffee Shop by morgauxo · · Score: 2, Interesting

    Not too original as it's already in the article but it's the coffee shop for me. The office is too quiet, home is too distracting. Coffee shop is just right. It takes some good code to make a profit though with all those overpriced treats around.

  91. Coding is a Happy Place by lainproliant · · Score: 1

    I find that coding can be a stress relieving activity and is by many respects my happy place. I often find myself most relaxed when I am programming, either at work or for leisure.

  92. My coding happy place... by Khan · · Score: 2, Funny

    ...is in my PANTS! Oh-YEAH! ;-)

    --

    "Klaatu, verada, necktie!" -Ash

    1. Re:My coding happy place... by arndawg · · Score: 1

      Someone make a song: I just compiled in my pants!

  93. A distraction free area. by talldean · · Score: 2, Insightful

    Anywhere without other people distracting me. Microsoft's Project Manager book pointed out that developers work best if they're interrupted once an hour or less. And they're damn right.

  94. Gaming problem? by Anonymous Coward · · Score: 0

    I installed Linux - that got rid of my gaming problem!

  95. Airplane?!?!?!? by TomGreenhaw · · Score: 1

    While it doesn't exactly qualify at coding, I was working on an intricate Photoshop file using the trackpad on my laptop on the airplane foldout table with a 4 year old bouncing in the chair in fromt of me the whole flight. It was surprizingly satifying to actually accomplish my goal under this challenging condition.

    --
    Greed is the root of all evil.
  96. Thank you Captain Obvious! by Hurricane78 · · Score: 1

    Of course it's your inner approach that counts. And no "sensory suckery" (as I call it) from the outside.
    But why make it hard on your? So I tend do need the following:
    - Variation = Inspiration: I can't come up with new ideas, when I always loop trough the same neural pathways. You know people who brag about all the places they had sex? Brag about all the places you coded at. :)
    - Perfectly comfortable: I do not feel anything negative or distracting. The only stuff I want to feel is what's inspiring me. Smell of plants. A little wind. A little bit of music.
    - Pauses: We coders tend to brag about long coding sessions, but the hard fact is: You are getting more done in the same total time, when you do pauses (eg. every 45-90 min, like in school). Often I came up with the greatest and most powerful ideas right after a small break.
    - Something else* in my life: Has something to do with the variation. I can't work, when I did not have a good party or some other crazy action in my life. It's what fuels my ideas more than anything else.
    - Most important: Do what I want to do! Every 5-10 years, I somewhat reset my life. I then ask the thinks I take for granted the most. Delete all taboos, likes and dislikes to find them again. Realigning myself with what I really want. And then adjust what I do to that. The last time I moved to another city and got from web development to game design because of it. And what can I say? I'm up to full power and creativity again!

    * How do you translate the German word "Ausgleich" in that context?

    --
    Any sufficiently advanced intelligence is indistinguishable from stupidity.
  97. Obvious by Locke2005 · · Score: 2, Insightful

    My most productive coding environment is any one in which I don't have access to slashdot! But seriously, I need closed doors so I'm not subjecting to interruptions, and fast 'net access for googling for solutions to problems rather then figuring them out by myself.

    --
    I've abandoned my search for truth; now I'm just looking for some useful delusions.
  98. For me... by Anonymous Coward · · Score: 0

    Comfy leather chair, view of the woods and creek, boxer shorts, solid but relaxing ambient or trance beats from high-end studio monitors... ... and not a soul to f*** with me.

    Chai or a strong latte is a nice bonus, as is a good smoke.

  99. In a hammock by ceoyoyo · · Score: 1

    Preferably in front of a floor to ceiling window with a good view, or in the back yard, surrounded by trees.

    The only problem is that you have to avoid the temptation just to close your eyes for a five minute break. A good supply of iced coffee helps with that though.

  100. Day three by symbolset · · Score: 1

    By that time my brain is finally convinced it's not going to get sleep until I get the answer I want and it starts integrating stuff holistically out of sheer self defense.

    I'm getting old. The same answer used to be "after breakfast".

    --
    Help stamp out iliturcy.
  101. in my room by isama · · Score: 1

    On my bed, late at night, lots of coffee (only a little bit of sugar) and some crisps. ohhh! i feel like doing that tonight!

  102. About 3 hours before its due... by mmaniaci · · Score: 2, Interesting

    My best code is produced when the pressure is on. Just last weekend I was participating in a robotics contest and coded a crude OS for a micro-controller in the 5 hours leading up to the competition. It was very simple, but worked well and I was even able to provide simulation outputs when run on a normal PC.

  103. My Favourite Place To Code. by Dulcise · · Score: 1

    In the office, with my boss at the other side of the office. I do get more done in a more formal environment.

    However, my boss recently switched seats to be behind me, and I'm just not as productive any more..

    The optimum position seems to be, boss close enough to be able to be friendly with him, but far enough away that I don't feel pressured by his presence

  104. Remember that scene from the movie Swordfish... by Anonymous Coward · · Score: 0

    ...where Hugh Jackman's character first meets John Travolta's. That would be my happy coding place.

  105. I find myself most motivated... by BetterSense · · Score: 1

    While being pursued by velociraptors as my underarmed adult comrades attempt to secure an island genetics experiment's inner computer room that I magically know all the root passwords to, because this is a Unix system, I know this!

    1. Re:I find myself most motivated... by molarmass192 · · Score: 1

      Ahhh ... SGI Irix ... how I miss thee ... truly ahead of it's time back in 1993 ... I mean the thing had a freaking web cam before there was a web to use it on!

      --

      Good people do not need laws to tell them to act responsibly, while bad people will find a way around the laws-Plato
  106. The Place + the Mindset = Storm by Anonymous Coward · · Score: 0

    For me it's one the other, or on one occasion the perfect storm.

    the Place: New York City Town home, upstairs section, early morning, with Laptop, playing my industrial/dark/techno/rock play list which has taken years to put together in the correct order. with a notebook next to me replacing the love of Whiteboard.

    the Mindset: slightly sleepy as if just woken, after a cig and a tea (Earl Grey or Green) with the for mentioned music on the Laptop. Mind goes into Coding Zen where even assembly makes perfect sense.

    The Perfect Storm: both and in those next four hours (3am to 7am) I coded with a brilliance and looking back over it was perfect.

  107. Middle of Nowhere by rainmaestro · · Score: 1

    I tend to do my best work when I'm away from the civilized world. My current favorite is a state park about half an hour outside my town (Orlando, FL). A couple miles into the trail is a little covered rest area with some benches. I park myself there and dive into my work. No cell signal to distract me, no noisy cars, no annoying neighbors, etc. Typically, I tote my netbook, since my laptop is too heavy to carry 5-6 miles round trip.

    When I need a break, there's always something to watch for a few minutes. Turkey, deer, a squirrel trying to steal my water bottle, every now and then I even spot a cougar moving through the brush. In the winter time, blue herons and egrets roost here.
    http://rain.maestro.freeservers.com/pics/100_0064.JPG

    Of course, not all the animals are quite so friendly. That's the second most venomous snake in the US for our international friends.
    http://rain.maestro.freeservers.com/pics/100_0071.JPG

    This park is always empty. I drive past two others to get to it, but because it is out in the dead zone between Orlando and the coast, no one ever goes there. In six years of regular trips, I've seen exactly three other people.

    Get outdoors, get some exercise, and still get my work done. The perfect combination for me.

    On rainy days, I usually relax on the patio with some instrumental music playing softly. Lately I've been going through a Nox Arcana fad. Mixed with the sound of the thunderstorms, I find it helps me focus.

  108. In the shower by MtlDty · · Score: 3, Insightful

    No seriously. I've had some real moments of epiphany whilst mulling over problems from the day before. Sometimes its only when you're away from your keyboard that you start looking at the bigger picture rather than the minutiae of individual classes/methods

    1. Re:In the shower by jmccarty · · Score: 2, Interesting

      Amen to that. I too have had several programming solutions come to me in the shower. Ever just wake up in the middle of the night with insight to a problem you were working with during the day? I need to find a way to prefect TCMP since so many solutions seem to come to me subconsciously.

    2. Re:In the shower by rdnetto · · Score: 1

      Same here. Also while on the toilet.

      --
      Most human behaviour can be explained in terms of identity.
  109. Peace and quiet... by seebs · · Score: 1

    Note that this doesn't necessarily mean silence; I work better with music than without.

    But it has to be *my* music.

    Apart from that... Large display helps, clear display is essential, good keyboard, good connectivity to wherever the code is. Reference material handy.

    --
    My blog: http://www.seebs.net/log/ --- My iPhone/iPad app: http://www.seebs.net/seebsfrac/
  110. Easy.... by Anonymous Coward · · Score: 0

    Where the coworkers aren't worried about layoffs, the business folks know the value of what they sell, the company knows how to turn a profit on the work that's been done, and the business plan and software design makes sense....... Never been there.

  111. The John ... by Anonymous Coward · · Score: 0

    you should see my code - pretty it ain't - but the Job gets done

  112. The summary says it: "It's all inside your mind" by JayGuerette · · Score: 1

    I usually do my best coding when I'm nowhere near a computer. Sure, eventually, I'll have to sit at a computer to *implement* it. Coding, the true poetry part of it, happens wherever it wants to, and often when I'm not at a computer. Seriously. The idea will strike, ferment, pass or fail some roughshod mental testing, and start to form into pseudo code a while before I can implement it. I can write a serious amount of pseudo code in my head. After all, the poetry of programming is in the logic, not the words.

  113. four things by readin · · Score: 1

    I need a window that overlooks a natural environment with a combination of close up and far away.

    An office is good as it allows me to play music. Cubes can be ok as they can facilitate communication, but they need to oriented so I look out over the approaches (don't feel comfortable and can't focus well if people can sneak up behind me).

    I need two monitors so one can show the previous phase and one can show the current phase. If I'm working on design, I have design on one screen and requirements on the other. If I'm working on code, I can have the code on one screen and requirements on the other (don't tell the boss that I just read over the design once and write code to the requirements - after all the defects will be written based on requirements, not design).

    And the temperature needs to be right. If it is too hot or two cold I can't sit and concentrate.

    --
    I often don't like the choices people make, but I like the fact that people make choices. That's why I'm a conservative.
  114. WHAT!? by happy_place · · Score: 1

    Okay the topic of this article freaked me out. I thought, Oh great... My Boss just found me on slashdot and wants to know where the code I'm supposed to be writing has been hidden... My coding happy place is within my little brain...

    --
    http://www.beanleafpress.com
  115. Hmmmm by planetoid · · Score: 1

    I'm happy coding in any situation up until I stumble into an understanding block. Wish I had actually taken my math courses seriously when I was in college, because now if I can't find a text book or article that says explicitly how to calculate (certain specific unfamiliar, not-often-documented mathematical subject here), then I sure as hell can't figure it out on my own and if I can't find anything after spending a couple of days searching Google and books at the library, I completely ditch whatever I'm working on. I need to find something else to do in life because this shit isn't for me.

    --
    Slashdot requires you to wait longer between hitting 'reply' and submitting a comment.
  116. I code in 25 minute slices by _Hellfire_ · · Score: 1

    I have a day job in an office, and code as a hobby. I do a one hour commute each way on public transport 25 minutes by bus and 35 minutes by train, meaning I get my coding done in roughly 25-35 minute allotments. This has actually become my coding happy place and I've gotten quite good and quickly determining where I'm up to and starting coding.

    The funny thing is that when I'm home I can find it difficult to code. Maybe I should take the circle route on the bus and get a huge chunk done.

    --
    "And then I visited Wikipedia ...and the next 8 hours are a blur..."
  117. This works for me by ears_d · · Score: 1

    No cubicle walls, good coffee, and listening to J.J. Cale.

  118. Listening to the "A Night at the Playboy Mansion" by Anonymous Coward · · Score: 0

    Listening to the "A Night at the Playboy Mansion" album

  119. Minimal interruptions by geek2k5 · · Score: 1

    My ideal coding/creativity time is early in the morning, from about 2:00 AM to about 5:00 AM, after having slept for a few hours. I sometimes wonder if there is such a thing as 'mental' noise, which is reduced at that time of the day.

    The ideal audio environment is one where some instrumental music is playing in the background, loud enough to cover background sounds. New age instrumentals seem to work best, with a mix mellow and upbeat selections.

    The ideal visual/tactile environment is one that is relatively uncluttered, to avoid distractions. That includes NOT having anybody around, human or otherwise, even if they stay clear of the area.

  120. Somwhere else. by a1210 · · Score: 0

    Cause putting work off makes me happy (for the time being anyway) :)

    But seriously..
    I think it depends on what you're coding. For example web dev I usually find better to be in a fairly quiet environment with a desk and a large monitor. While command line apps in C is fine on a laptop on the sofa.

  121. While I'm Deep Inside of Natalie by Anonymous Coward · · Score: 0

    Ms. Portman is on all fours. I'm taking her from the rear doggie style. My laptop is secured to her back by a strong by strappy leather harness. The music of Weird Al serenades us. I plunge the entirety of my right hand into her anus when extra inspiration is needed. Natalie laps eagerly at a trough full of hot grits.

  122. My Room by Secret+Agent+Man · · Score: 1

    I'd say the place where I can be the most productive and feel the most comfortable when coding is my own dorm room. I have all of my music available to me, a spare PC for Internet access (pretty much a separate monitor), and food and drink if I get hungry. Plus, it's a pretty quiet place, so there are no distractions. With all of that said, where I work (as a developer intern for Lake Quincy Media) isn't that bad of a place either. It's quiet most of the time, I have access to a really awesome rig with a dual-monitor setup, and am surrounded by knowledgeable people. I guess I'm one of the fortunate few who likes his workplace environment.

    1. Re:My Room by Secret+Agent+Man · · Score: 1

      I suppose that's the real disadvantage to working at home. I have a lot of ways to distract myself. At work while on the clock, on the other hand, there's almost no chance of that happening. With that, you could say my productivity is better at work, while working at home is more comfortable overall.

  123. The usual place. by boltik · · Score: 1

    My mom's basement.

  124. Dictated by mood by nf0tr1x · · Score: 1

    Two of us in my office. Only one constant: awful overhead florescent lights stay OFF. We both use lamps with 'natural' light bulbs on desk. Way more comfortable on the senses making it easier to get into the 'zone.' There are days I'm fired up and a good dose of Disturbed cranks through my headphones. Others it's talk radio or a TED lecture. And yet other days I get lost in complete silence. Usually if things are in a funk, I change up the environment until things are mentally rolling again. It never takes long. I work the same way at my home office.

  125. Obligatory-- BALLMER PEAK! by way2trivial · · Score: 1

    http://xkcd.com/323/ .135-- that's my pi!

    --
    every day http://en.wikipedia.org/wiki/Special:Random
  126. My humble requirements by Eternal+Annoyance · · Score: 1

    Clean, impulse free room... except for the LOUD non-distracting and motivating music (this mostly means techno or metal). The other extreme is complete silence.

    Also, any windowing environment helps bringing down my productivity. So it's console for me. Just nano, gcc, cmake and subersion for me.

    When I tried emacs, I ran away screaming. Vim ended up annoying me (but was a much nicer experience as emacs). Since my distro defaluts to nano, I started using nano and I liked it.

  127. My happy place is decidedly unhappy by glasserc · · Score: 1

    I get more work done when I have someone to forget about: fight with a girlfriend, turned down by a babe, missing someone, or all of the above :).

  128. Night by Samah · · Score: 1

    I do my best work during the magical hours of 10pm to 4am. The PC monitor should be the only source of light in the room, and there needs to be some form of trance music playing in the background. Personally I hate trance/dance music, but for some reason it gives me tunnel vision on my work.

    --
    Homonyms are fun!
    You're driving your car, but they're riding their bikes there.
  129. 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.
    1. Re:Not on topic, but... by SBFCOblivion · · Score: 2, Informative

      If it's anything like the last place I worked there is a reason for it (although a bad one).

      My old department at my old job didn't like us listening to music because people from other departments would walk by and see us listening to music and then go complain to their managers. Why complain? Because their departments didn't allow people to listen to music for whatever reason. Why couldn't they listen to music if we could?

    2. Re:Not on topic, but... by JoeMerchant · · Score: 1

      Even in "this economy", you can do better if your present employer is micromanaging that badly.... odds are if they have that attitude, they also are paying poorly relative to what else is available, check around.

    3. Re:Not on topic, but... by Xest · · Score: 1

      In some countries i.e. here in the UK it's because royalty collection agencies spread a lot of FUD on the subject but also because they collect royalties for playinng radio at work citing it as a public performance.

      Because of the general FUD and the valid (although still idiotic) royalties that they can demand some companies prefer to just play it safe and avoid any harassment and legal wrangling and ban music at work altogether.

      Of course, some companies also see people sat with headphones on as appearing anti-social or not the best image to display towards customers, others don't want employees to hear them if they're sat next to them and try and ask them something or shout across the office to them.

      It's not as clear cut as you say, but I do agree generally with your point, that many employers would do well to cater to their employees preferred working methods and styles more because it does boost morale, motivation and of course output.

    4. Re:Not on topic, but... by ObsessiveMathsFreak · · Score: 1

      Who wants to do their very best for someone who treats them like a freaking toddler?

      Prospective managers.

      --
      May the Maths Be with you!
    5. Re:Not on topic, but... by DwySteve · · Score: 1

      He could work in an area where safety requires him to be able to hear things happening around him. That would prevent him from wearing earphones, and listening to music without them would be disturbing to other people. So, no music :(

      --
      http://angryee.blogspot.com
    6. Re:Not on topic, but... by supernova_hq · · Score: 1

      A company only needs to pay royalties if a certain number of people are listening to the music (usually 4). This normally applies to a radio playing of the speaker system (or even a boombox). However, if you are listening to something on headphones, then you are the only one listening to the music. Even if lots of people are doing that, they are all (technically) listening to a separate audio feed. So unless you are using headphone spliters, then I wouldn't worry about it.

  130. Bathroom. by roc97007 · · Score: 1

    Door locked. Fan on. Nobody bothers you.

    --
    Oliver's law of assumed responsibility: If you're seen fixing it, you will be blamed for breaking it.
    1. Re:Bathroom. by RANGAtainment · · Score: 1

      So so true... I even got power points installed in mine so i could work the only issue is ur ass after 2 hours coding

    2. Re:Bathroom. by roc97007 · · Score: 1

      Yes. No feeling whatsoever, and then pins and needles for 20 minutes. Definite disadvantage.

      --
      Oliver's law of assumed responsibility: If you're seen fixing it, you will be blamed for breaking it.
  131. Where I'd like to be... by careysb · · Score: 1

    I haven't had a chance to test drive this, but I'd like to have a house in the mountains with an elevated room overlooking the woods with huge screened windows that open wide. I would open the windows wide ('cept for the winter) and get a slight sweet breeze and hear the sounds of birds chirping.

    1. Re:Where I'd like to be... by fdrebin · · Score: 1

      I haven't had a chance to test drive this, but I'd like to have a house in the mountains with an elevated room overlooking the woods with huge screened windows that open wide. I would open the windows wide ('cept for the winter) and get a slight sweet breeze and hear the sounds of birds chirping.

      Funny you should mention... this is exactly where I live (and I work from home), about 35 miles SW of Denver.

      Slight kink in the plans... I live at 9500 ft elevation, and it's only warm enough to have the windows open for a couple months of the year. At night they usually have to be closed, even in summer.
      There is an adequate selection of birds - hummingbirds, Stellars Jays, miscellaneous robin and sparrow-like species, etc. But the squirrels make more noise than the birds. (They're little black ones about 1/2 the size of a regular squirrel - Abert's squirrel I think they are).

      One of the unexpected oddities up here - it's so deadly quiet that noises you'd never notice in a city are very audible. A dog barking a mile away, Harleys on the 4-lane road 6 miles away, the bear plodding across the deck - all very audible. Whether that works for you or not depends on you. I don't care for those kind of sounds, but they're infrequent enough to not be much of a problem.

      I've been known to take the laptop out on the deck a time or 10. Have to stay in the shade though because the sun's so bright. The biggest hazard is a hummingbird zipping by - scares the crap out of you for a second, at first it sounds like a condor-size bee coming after you.

      Then there's the 42 inches of snow we got this weekend...

      --
      Stupidity... has a habit of getting its way.
  132. I need to talk to code...therefore... by GPLDAN · · Score: 1

    It's not about the environment that suits me, it's about getting me away from other people. I need to talk to the code, saying things like "shit", or "are you serious?" when looking at something that won't work or was poorly written.

    I also snap gum, click my tounge and make whirring noises to add sound effects to traces.

    So it's really just about getting me away from other coders (or anyone who wants to concentrate) when I am coding.

  133. Pretty much any moving vehicle. by Narcocide · · Score: 1

    While I could code effectively just about anywhere as long as I have my music to listen to, its inside moving vehicles that I find my ability to focus is somehow significantly enhanced.

  134. Find A Happy Place..... by IHC+Navistar · · Score: 1

    My coding 'Happy Place' is any place the doctor ISN'T.....

    Unless, of course, the doctor happens to be that hottie petite urologist with the massive server rack...I mean, 'chest'.

    I'd love to 'patch' her 'software' with my 'hardware' and 'compile' with her any day of the week. She's particularly skilled when it comes to 'Logarithmic Functions' and helping me 'come' up with answers she is pleased with. .....someone help me get my brain out of the gutter.....

    --
    Knowing Google's lust for data collection, the Soviet Union is still alive and well inside the psyche of Sergey Brin....
  135. At School by Anonymous Coward · · Score: 0

    The excitement of sneaking lines of code between teachers strolling down the aisle. Not as much volume, but a hell of a lot more efficient.

  136. something different by kaoshin · · Score: 1

    Look at guides for musicians and writers for breaking writers block, and the same rules apply. For me it is a change of scenery. Sometimes, I will go sit in the car in the parking lot.

  137. I don't really code... by ThousandStars · · Score: 1
    But I'd say my best writing space in general is at home, in a quiet room--I use this one, and in a place without distractions. I suspect that those who call planes their best hacking space do so because they don't have the Internet to distract them--which can be a major problem, which I discuss in some detail here.

    To me, the people playing with their laptops in coffee shops are nuts: they're so prone to distraction that I doubt they can get anything done effectively.

  138. Which phase? by thethibs · · Score: 1

    Which phase? For the pencil and paper phase I like it sunny and warm. I did some of my best noodling on the beach in Santa Monica and on the patio of an outdoor bar whose name I've forgotten overlooking Manhattan Beach.

    For the coding and proving phase I'll go for anything that approximates a cave, where all I can hear is the fans and the voices in my head, and no one ever comes to visit.

    --
    I'm a Programmer. That's one level above Software Engineer and one level below Engineer.
  139. When the code and project are cool by Anonymous Coward · · Score: 0

    I code best when I'm allowed to decide what to code and what to code it in.

    Whether it's worth it to my boss is another story, but the project my boss is happiest with this year is something I wrote from scratch and wasn't asked to write (it replaces horrible software I was told to use).

  140. Das ist ein groovy beat. by benow · · Score: 1

    Listening to techno, coding either from lazy boy with datahands in front of 1080p projection, or datahands on aeron in back of truck camper next to creek 20km off main roads in back country British Columbia. Code, code, code, fill generator, walk around looking at trees and butterflies, have a beer in the sun, code, code, code. Will be doing more of that this summer ;)

  141. I don't dream of electric(or real) sheep... by rts008 · · Score: 1

    Anyplace I am surrounded by gorgeous strippers and hookers, and good booze; that is my 'Happy Coding Place'!

    Obviously my coding projects take a long time, a lot of energy, and stamina though, what with all the QA, T&A, penetration testing, etc...

    *alarm clock sounds off*
    Damn! Back to coding in my 'not so happy place'.

    --
    Down With Slashdot BETA!!! I've been around the corner and seen the oliphant; you can only abuse me from your perspecti
  142. My Checklist by gzine · · Score: 0

    *Dual Monitors
    *Loud Music - so subconscious can roam when Im stuck
    *Leaned back in my chair with my feet up
    *Liquid Courage - pref. Hennessey and Pop
    *Dog reminding me to take smoke break
    *Fast Upload speed
    *VI - EMACS is for RTARDs

  143. In the bathroom. by Anonymous Coward · · Score: 0

    Coding while taking a poo ftw!

  144. Who Cares/I Need To Care. by ev0l · · Score: 1

    The place does not matter but giving two shits about what you are doing does. I am most productive when I care.

    -ev0l

  145. In bed by clarkw · · Score: 1

    happily snoozing away... When I wake up, I have the solution. I go downstairs, type in the code and test while drinking coffee.

  146. I've found... by KingAlanI · · Score: 1

    ...I've found that I can slack off in bursts, work furiously in bursts, sometimes work fitfully.
    Thing is, I don't know exactly when or how I switch between modes. :)

    Whether at university computer lab or on home machine (both are quiee except for incidental noise or music that *I* select - the music is my usual mix of classic rock and whatever)

    --
    I listen to both RIAA and non-RIAA stuff if I like the music, tangential business/politics nonwithstanding.
  147. Keep the 'noisy' brain quiet by Anonymous Coward · · Score: 0

    Good code is all about the architecture and for me the process is to spend as short a time as possible reviewing the 'problem' then do something physical and mundane - like yard work and I can usually mentally map out the solution while the noisy part of my brain is distracted.

  148. Re:Music by Lunzo · · Score: 2, Funny

    I listen to the blues while coding. Interpret that as you will.

    If my boss is reading this that was a joke.

  149. ... slide ... by CAIMLAS · · Score: 1

    ... slide .... * penguin jumps down small CGI ice ramp *

    --
    ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
  150. My Happy Place by ENOENT · · Score: 1

    Beer, Pink Floyd, rocking chair.

    Oh yeah, and my MacBook. That's how I roll.

    --
    That's "Mr. Soulless Automaton" to you, Bub.
  151. My two bits. by Anonymous Coward · · Score: 0

    Minimal corner desk facing a bare corner. Me, the model M, the screen and the code.

    If I only have a small amount of time add lots of caffeine and Daft Punk's "Alive 2007" album.

  152. Drugs improve my coding and cognative skills by Anonymous Coward · · Score: 0

    I've done my best coding in my best of moods using VC++ 2005, after snorting Heroin. Once I'm sober I don't even know how I coded so perfectly. I'm a code junky, literally.

  153. No Internet by SpazmodeusG · · Score: 1

    I really only spend 1% of my online time doing something productive.
    Most of the time when coding i really don't need a reference or help, i just need to actually do the task at hand.

    I cite this very post as an example of what i'm getting at. :P

  154. In my bedroom by redblue · · Score: 1

    Naked.
    Nancy Ajram @ 80dB + subwoofer.

  155. Moving car by EEBaum · · Score: 1

    I once coded pathing algorithms for a maze-searching robot in the passenger seat of a 1990 Honda Accord going upwards of 100mph from the southern edge of Los Angeles to Davis, starting at 4am. Said robot was to find its way through the maze around noon. Memory is hazy on how well the code worked, on account of being at it since 4am. Was quite surprised to learn that one can reach Fresno in under three hours when the roads are clear.

    --
    -- I prefer the term "karma escort."
  156. locales? by laejoh · · Score: 1

    Why, en_GB.UTF-8 ofcourse!

  157. I'm so old by clickclickdrone · · Score: 1

    "Where's your coding happy place"
    About 25 years ago... Back then I could code through the night for weeks at a time producing stuff that looking back astounds me. OTOH, while I know write a lot slower, it's pretty much bullet proof and fits the spec.

    --
    I want a list of atrocities done in your name - Recoil
  158. Swordfish... by Ihmhi · · Score: 1

    ...was the best movie ever.

  159. Coding in swelter by itarato · · Score: 1

    My coding happy place was my small college room, during the summer, wearing only 1 short, drinking beers and listening loud Hungarian national music. When the city is silent. Nobody on the streets. The college is empty on the weekend. Temperature is too high. But basically coding is best in heat, for me.

  160. And you get to look like a hero[sic]... by lwriemen · · Score: 1

    ... because everyone else is so stressed out over the code not being done yet that they'll happily ignore the fact that it probably should have been completed a week earlier to allow time for testing and error correction before the due date.

    Your customers have probably learned to pad their schedules to compensate for your procrastination.

  161. By myself by hesaigo999ca · · Score: 1

    No matter what or where it has always been because I was alone in the office or at home that I got stuff done, otherwise too many distractions

  162. The Matrix by Anonymous Coward · · Score: 0

    Sitting in a dentist chair with "half natural" keyboard on each hand rest, vi writing perl, vr goggles, grado sr1's -> headphone amp with following on random: marley exodus, jimmy buffet songs you know, james taylor greatest hits, acdc live, gnr greatest, zztop greatest, GEORGE THOROGOOD greatest.

  163. My happy place by molex333 · · Score: 1

    I rarely work at home because there are just too many distractions there (wife(1), kids(2), cats(2), & dog(1)). I do work pretty well at the office(mainly becasue we ran out of cube space before I was hired and I work in a storage space that was converted into an office). It is really quiet and I can get a lot done in a little amount of time. Most days I get completely lost and do not even realize that it is 5:00!

    --
    Somewhere in a dark place you will find:
    www.m1
  164. Not on a computer! by kcdoodle · · Score: 1

    The really hard problems are mulled over for days. Straight forward coding is easy.

    My greatest inspiration comes in the shower or when sitting on the can. Once the solution appears, it really isn't too hard to remember it long enough to get to a computer and make it reality.

    --

    - I live the greatest adventure anyone could possibly desire. - Tosk the Hunted
  165. Mattoon, Illinois by Wargames · · Score: 1

    In my youth, 'twas no better place to write code than the middle of farm country, a thousand miles from home, and no hope of home until the job was done. Then, the promise of a meal at the amazing Arcola bowling alley, aka The French Embassy, crafted by Chef Jean-Louis http://will.illinois.edu/prairiefire/segment/pf1992-04-09-a/ a sublime motivator.

    Now, place is not as important as time. The creative fruit comes when the time is ripe, until then, you plant seeds and nourish them.

    --
    -- Each tock of the Planck clock is a new world and here we are still life. --
  166. Time, not place by Anonymous Coward · · Score: 0

    Working against a deadline, the best coding environment is in the office -- 12 hours out of phase with the rest of the company. If they're in from 8 Am to 5 PM, then I'm in from 8 PM to 5 AM.

    Of course there must also be plenty of diet coke and heavy metal.

  167. Comfort, minimal distraction, motivation by GregWebb · · Score: 1

    That's about it, really (though I've written quite a lot of code in a freezing office on the weekend - huge motivation boosts productivity for obvious reasons).

    What kills productivity? Colleagues interrupting my train of thought, either by requesting my input or simply by doing something that inherently distracts. Sharing an office with sales staff can be a killer, simply because they're so often on the phone or running round assembling information. Music can help with the happy place but isn't even always on at home (and I love music, have far too many albums at my fingertips :-)) - its benefit for work is partly comfort but mostly for me in providing a background noise I can predict and so tune out. It might as well be a white noise generator in some ways.

    I've been in offices where you shivered all morning, or where every last movement caused sweat to drip off you - neither was very productive. I can type just as easily on a laptop (heck, I've written a fair bit of code on a 9" netbook) but accept I'm unusual in that way :-) - but a machine that gets in your way is never ideal.

    What can be the biggest killer though? Motivation. You tell me you code as efficiently when presented with a task which will achieve almost nothing of benefit if it ever goes live and involves large-scale maintenance on a poorly-built legacy codebase. We do our best work when there's a reward of pride, and when we know that our best work is still only polishing a turd, it's far harder to summon the energy.

    --

    Greg

    (Inside a nuclear plant)
    Aaaarrrggh! Run! The canary has mutated!

  168. Sleep by mqduck · · Score: 1

    Personally, I enter my most mentally productive state when I start to become sleep-deprived. If and when my second wind kicks in, I tend to be much more focused and productive with an intellectual task. It's as though lacking sleep forces my brain to slow down enough to concentrate, like most of the guests at the party have gone and there are only a few voices left, so you can actually follow what all's going on in the room.

    --
    Property is theft.
  169. The bathtub by friherd · · Score: 1
    Seriously. For years I've put a board across the bathtub, put my laptop on it (connected to power outlet, no less) and code away.

    Yes, the fact that all could slip into the water and fry me does add a certain edge to it. But nonetheless it is the best place for me to code.

    No interruptions. No distractions

    (The water gets cold? I just lift my left foot and turn on the hot water for a few seconds and all is well.)

  170. My happy place? by Anonymous Coward · · Score: 0

    adderal

  171. Student days... by Anonymous Coward · · Score: 0

    Sitting in the house lounge, pulling an all-nighter next to the beer keg, scratching out code on green-bar paper (yes, I'm that old. It'll happen to you, too!). The code was surprisingly bug-free. It's amazing how many mistakes you avoid when you're too drunk to be clever, but still sober enough to spell the identifiers correctly. I got an A on that project!

  172. Internet, necessary evil by Anonymous Coward · · Score: 0

    I need an Internet connection to do my code, but it brings with it IM, 4chan, and Slashdot. :

  173. CSIL @ UCSB! by Anonymous Coward · · Score: 0

    Yup. The computer lab. I throw my headphones on and go.