Slashdot Mirror


How Many Hours a Week Can You Program?

An anonymous reader writes "How many hours a week should a full-time programmer program? Trying to program anywhere near 40 wears me out. On a good week, I can do 20. Often, it is around 10 or 15. I'm talking about your programming session at the console, typing — including, of course, stopping and thinking for a minute, but not meetings, reading programming books, notes, specifications, etc., which by comparison feel like lunch breaks. I rarely get called to meetings (which is good) but that means to keep my brain from overheating I spend several hours a week surfing the web (usually reading tech news but also a few stops on Facebook, email, etc.). I should add that I am interrupted a few times per day. Me and another guy maintain an intranet site of a couple dozen web apps for an IT department, so we work on a few different things: phone calls, bug fixes, feature adds, as well as writing new web apps from the ground up, all in a day's work. And I know that wears a person out more than if they had just one project to work on. I wonder if programming is like mental sprinting, not walking, so you can only do it in bursts. Am I normal or stealing?"

547 comments

  1. Kind Of Vague by unother · · Score: 4, Insightful

    If you mean purely the process of typing in code, well--that's kind of hard to gauge, isn't it? I've always found that the trial-and-error of development processes means that unless you're working in an orthodox manner it's really hard to separate "thinking" from "doing". Also, I find that when you're in the "zone" it's not painful at all. Sounds like you may be working on something you don't enjoy so much? :D

    1. Re:Kind Of Vague by xerent_sweden · · Score: 2

      Is planning, creating UML and organizing projects really programming? No. Is it part of the programming process? Yes, definitely.

    2. Re:Kind Of Vague by unother · · Score: 2, Interesting

      See above where I said "unless you're working in an orthodox manner". UML is used where UML is used; it is consider "orthodox" (AKA CYA). That's why I said the separation is harder when you're free from that sort of overarching process (which is good for some things, but overkill for many others). Point being: if you find development dull, yet you are in a very Waterfall-oriented organization, then well... might not be the programming part. :)

    3. Re:Kind Of Vague by nametaken · · Score: 5, Insightful

      Yeah, it depends entirely on the environment and what you're used to. It's amazing what people will do when they think it's normal.

      I used to work 40-50 hr weeks just writing code. Mostly web applications like the op does. All day, no facebook or web browsing, all billable hours with two project managers behind me that just had to look forward to see what I was doing. I had two 10 minute breaks (one morning, one evening) and 30 minutes (iirc) for lunch. I worked in a converted warehouse with no natural light, no windows (to stare out of and waste time daydreaming). You learn to do it because that's what's expected of you and what the people around you do. Now I work IT and program for a different company, and I can hardly fathom how I used to do that... or why.

      Fuck that old job and fuck that employer... it wasn't worth it. When I went to leave they offered me another 15k to stay... that's how bad I was being raped all along. Obviously I told them no. I know it wasn't sweatshop labor or anything, I was able to quit and it wasn't particularly hot in there, but reasonably smart people that study and learn a usable skill shouldn't have to live like that. Not in the US.

    4. Re:Kind Of Vague by ShakaUVM · · Score: 4, Interesting

      >>Also, I find that when you're in the "zone" it's not painful at all. Sounds like you may be working on something you don't enjoy so much? :D

      When I'm in the zone writing code, I can easily code for 10 hours straight. However, doing this on a day in, day out basis tends to be wearing from all the focus. When I worked for other people, I found that working about four hours a day when my brain was freshest yielded the best results. Since I was being paid hourly, I wasn't even forced to sit around waiting for five o'clock to roll around. I'd bill four hours and bail out. Got a project that had been budgeted for three years and half a million dollars finished in a summer for (unfortunately) much less money.

    5. Re:Kind Of Vague by Anonymous Coward · · Score: 0

      That's true. I remember programming for about 100-120 hours a week for 2-months with a start-up a few years ago and I started to easily burnout afterwards. But to be truthful about 30hours of that was design work but still, I can't imagine doing more than 40 these days. This is assuming there's a 5min break every hour and a 15min lunch. (not proud of going through that and I'm no longer a programmer)

    6. Re:Kind Of Vague by d'fim · · Score: 1

      Sounds like he's interrupted too often to ever get into the "zone".

      --
      Adherence to the truth is a form of disloyalty.
    7. Re:Kind Of Vague by thoughtsatthemoment · · Score: 2

      It is vague. If there is a range that defines coding, it falls between playing video games and designing an algorithm. Any healthy programmers can play games for days nonstop, but designing an algorithm? They can easily hit a wall and have to stop.

    8. Re:Kind Of Vague by Anonymous Coward · · Score: 0

      Interesting, just one nitpick, people in sweatshops can quit (there is plenty of people to take their place), they usually are just to desperate to (not to get into a debate or anything).
      Sorry if I come off as a troll.

    9. Re:Kind Of Vague by osgeek · · Score: 1

      Sounds like you may be working on something you don't enjoy so much? :D

      Pretty much what I was thinking. Back when I was programming, I could just live in the code -barely wanting to take time for meals. If you like what you're doing, then it shouldn't be that hard to just do it. You might want to clear your browser of all your favorite surfing bookmarks. Maybe install a plugin that limits your browsing time? I saw one available for Chrome the other day.

      As a manager of software developers these days, I'd be a bit concerned with someone spending half of a minimal (sorry) 40 hour work week surfing. If I noticed it, I'd probably give that developer's work careful scrutiny and not be satisfied unless that developer made superhuman use of those 20 hours actually developing.

    10. Re:Kind Of Vague by unother · · Score: 1

      Yes... and this is what we call "Honest Engineer Syndrome". :) Don't worry, honesty is always the best policy. Just not necessarily the most remuerative. :D

    11. Re:Kind Of Vague by Anonymous Coward · · Score: 0

      coding by trial-and-error? Remind me not to ever hire this guy.

    12. Re:Kind Of Vague by unother · · Score: 1

      d'fim: Yes, that was exactly what I was saying. Fact is, the mere mention of "UML" is telling... ;)

    13. Re:Kind Of Vague by unother · · Score: 1

      *Sigh* Unless you're some kind of Kaspersky, chances are you will have to take a shot in the dark now and then as to what you are attempting. It's called learning. *Hmph*

    14. Re:Kind Of Vague by deisama · · Score: 5, Insightful

      This is one of the things I struggle with working from home for myself. With no meetings and nothing to distract me, getting in the "zone" is awesome, but can be a little hazardous.

      When I'm that into it, I stop getting hungry or thirsty, I don't get tired. I got to bed at around 6am, because the bright light hurts my eyes and distracts me long enough to think "you know, its 6am, maybe I should go to sleep" even though I'm not the slightest bit tired.
      My dreams are all about the tasks I'm programming, but of course, since they're not grounded in reality, any discoveries there are useless.
      3 hours later, I'll wake up. I'll spend maybe an hour waking up, eating breakfast, maybe watch an ep of the dailyshow, and than its back to the project.

      I did this for 5 days straight once. It's absolutely fun as hell. Challenge after challenge after challenge. Like the best video game you've ever played. Its crazy productive. 3 to 4 months tasks get done in days. And at the time your mind masks all the downsides from you. You never get exhausted or sick of it. You don't realise how much time or days has passed.

      But than you snap out of it. Your bones ache because you've barely moved them. Friends have messaged you and called, and you didn't notice. The fact that you've barely gotten any sleep hits you hard. You'll be fine one second, take a step forward and than all bam, all of it hits you at once.

      And thats if you're lucky enough to have finished your task. If you've forced your self out of it because of "health concerns", than your mind makes it painfully clear, that you don't actually have as much choice as you thought you did in this matter. Almost as though you're being held hostage, you won't be able to focus on anything else at all. Your mind will constantly come up with new ideas that make you REALLY want to go back and see if it works. If you want to watch a show or play a game, you'll be lucky if you can notice the title. If you try to hang out with friends you'll be distant and distracted. If you try to do anything that requires even the slightest amount of thought, you'll be utterly useless.

      And finally, when you're not in the zone its a stuggle. On the one hand, you know that if you could go into the zone all the work you're wasting time on would be blown away. Why should you do any work in this unproductive state when you know you could do it way better and faster when you're in the zone? But at the same time, there's this fear too. I don't want to lose the next 3 or 4 days of my life. Will this next task be the one that sucks me in? If I start this now, will I be able to make it to my appointment tomorrow? And is this strategy even physically healthy?

      I haven't really come to terms with it yet. But hopefully one day I'll find the perfect balance :)

    15. Re:Kind Of Vague by Anonymous Coward · · Score: 0

      working 3 jobs at the moment - 16 hours a day - 6-7 days a week + i'm on call (mind you i haven't had a phone call for months because everything works).... and loving it

      if you can only handle programming 10-15 hours a week - why are you doing software programming? Find something else you love doing - that you WANT to do 40+ hours a week - then get a job being paid to do the thing you love. Then 40 hours is never enough time to get everything you want done. ... now back to the code

    16. Re:Kind Of Vague by ShakaUVM · · Score: 3, Insightful

      >>if you can only handle programming 10-15 hours a week - why are you doing software programming?

      I can *do* more, but what I found was that about 20 hours a week yielded optimal results. This is backed up by various findings in education and cogsci as well.

      >>Then 40 hours is never enough time to get everything you want done. ... now back to the code

      I run my own business now. I get quality work done in short amounts of time, and enjoy life with all my free time. If my business went under, I think I'd have a really hard time going back to an office job. I'm spoiled rotten.

    17. Re:Kind Of Vague by tomhudson · · Score: 1

      It's always about CYA and putting in the hours "on the clock" instead of when we're most productive.

      Hint: You want better code, and more of it? FLEX-TIME, and I mean REAL flex-time. I find the most productive hours for me are after 10 at night - it's so much easier to get into an all-night coding session than when it's sunny outside and the body is crying "let me go enjoy LIFE!!!"

      Seriously - let people code at the hours their body says are best for them, and develop better management techniques to measure, administer, and coordinate the work. One week, I might be "into it" in the evenings, another, days - you can't tell your brain when to be at its best.

    18. Re:Kind Of Vague by tomhudson · · Score: 1
      ... and I know it's bad form to reply to myself, but I just HAD to add this -

      It keeps the distractions of the day away (and yes, bosses can be hugely distracting from productivity. Put it in writing and send it in an email. If you can't express it clearly and concisely, AND read it over a couple of times so that it's not just a "stream of (un)conscous ramblings" why should I have to (a) waste my time reading it, and (b) come off looking worse than I am because YOU interrupted my work with stupidity that could have been avoided if you had been doing YOUR job properly and as a result the code is sub-optimal or I introduced a bug.

      The sad truth - management mostly can't manage, or we would already be doing this, as well as mostly telecommuting. We have the technology - if the porn industry can leverage it properly, why can't we? Are we all THAT STUPID?

      (./me looks around at the majority of slashdot users who are still using Windows)

      I guess it's a rhetorical question.

    19. Re:Kind Of Vague by petit_robert · · Score: 2, Insightful

      I run my own business too, and try spend at least 15 hours a week on technical newsgroups. On numerous occasions, I happened onto discussions that saved me days of useless work because some post in a thread showed a solution pertaining to a problem I was working on at the time.

      This has had the unexpected consequence of making me feel like I'm actually losing time when I'm too busy to read those newsgroups (/. included)

    20. Re:Kind Of Vague by tomhudson · · Score: 1

      Interesting, just one nitpick, people in sweatshops can quit

      Not always. There are still places where they lock the doors, and at night you go to your company cot, and if you're seen even TALKING to an outsider, you're fined.

    21. Re:Kind Of Vague by tomhudson · · Score: 1

      It is vague. If there is a range that defines coding, it falls between playing video games and designing an algorithm. Any healthy programmers can play games for days nonstop, but designing an algorithm? They can easily hit a wall and have to stop.

      That's when you get up and go for a walk. Or take a 10-minute power nap (which most of the time, you end up lying there feeling guilty about trying to take a nap and then enlightenment strikes and you have the basis of another avenue of investigation).

      Just the mere act of getting away from the keyboard for 15 minutes every so often more than pays for itself in less buggy code that has to be re-written.

    22. Re:Kind Of Vague by tomhudson · · Score: 1

      coding by trial-and-error? Remind me not to ever hire this guy.

      You obviously never debugged anyone else's code. You can either take the time to learn the whole code-base, or follow a hunch. If you have the nose for it, your hunches pay of most of the time. If you don't have the nose for it you haven't written enough code, and made enough mistakes, to understand the term "code smell".

      Oh, right, all your code compiles, links, and runs as expected the first time. No trail and error for YOU! So, when are you going to extend that "HelloWorld" class to actually DO something?

      Okay, maybe that was harsh, but seriously, our current engineering knowledge is based on discoveries that came from trial and error. So is our medical knowledge. The first 10 heart transplants didn't work out so hot, you know - "the operation was a success but the patient died". And while Edison didn't invent the light-bulb, he DID try over 1,000 different filaments before he hit on one that worked.

      Trial-and-error is part of engineering. And part of art. And programming is both.

    23. Re:Kind Of Vague by Anonymous Coward · · Score: 0

      Some of us dual boot :(

    24. Re:Kind Of Vague by shervinemami · · Score: 1

      Yeah for example in Dubai & UAE where about 80% of the people in the country are temporary hired workers from overseas, its common that even for the "blue-collar" jobs, your employer keeps your passport during your 1 or 2 yr contract to make sure you can't leave the job or country!

    25. Re:Kind Of Vague by Anonymous Coward · · Score: 0

      dude your old job sounds like my dream job? I hate Windows, and I don't mind coding for long periods of time. I don't have to go to the bathroom much, so I think it would work out well! The only thing is that I know I have to threaten to leave once to get the extra $15K.

    26. Re:Kind Of Vague by stuckinphp · · Score: 0

      I understand and want to agree 100% but I can't.

      FLEXTIME just does not fit in with the rest of the world. Yes it works amazing wonders for developers, but for the rest of the business (and third parties it involves) it just won't fly.

      The porn industry, like you say has taken a major liking to telecommuting, flex time etc. But likely due to reasons you don't want to hear.

      The porn industry has to take on telecommuters / flex time out of necessity (and much lesser extent because it can and it is good). They can't find developers anywhere that want the work (its like a black mark on your cv *), they rarely have offices, and I doubt their management has any set work hours (usually managed by the sole owner).

      * it might not be but who are you to decide that.

      --
      if only
    27. Re:Kind Of Vague by LBt1st · · Score: 2, Insightful

      I've been there. For years I was like that. I basically put my life on hold all through my teens and 20's. Then eventually I realized I was missing out on a lot, and made an effort to not make coding my priority in life. This was a very difficult transition that took about 2 years. Now I'm finally able to accept that it's something I do when I have time.
      Before if I tried to hang out with friends or something it'd be bothering me the whole time that I wasn't being productive. It was like an obsession that would pain me until I was back at it.

      It feels good to be free of that. I still love to code but I now have a real relationship (not just sex buddies), I see my family regularly and occasionally get out for some fun.

      More then anything I think the key is to try to relax. Truly stop to smell the roses, do some traveling, meet some people.
      I Do miss that zone though. If things were just right, I could do 15 hours a day. Overall though, my life's better now.

    28. Re:Kind Of Vague by schamberlin · · Score: 2, Informative

      What, seriously? You were forced to work 40-50 hours per week actually writing software, without the union-mandated 5 hours per day for updating your blog and watching funny YouTube videos?

      Why do people seem to think that being asked to actually WORK at work is some sort of heinous crime?

      > reasonably smart people that study and learn a usable skill shouldn't have to live like that. Not in the US.

      They should get to work in some gilded office and get their asses kissed for doing 30 minutes of actual work in a day?

    29. Re:Kind Of Vague by countertrolling · · Score: 1

      Got a project that had been budgeted for three years and half a million dollars finished in a summer...

      That would be a capital offense in Washington..

      --
      For justice, we must go to Don Corleone
    30. Re:Kind Of Vague by Anonymous Coward · · Score: 0, Flamebait

      Fuck that old job and fuck that employer... it wasn't worth it.

      More like fuck you.

      Why do you think that you have the right to waste the employers time and money watching youtube videos, updating facebook and surfing the web. They are paying you to work, not to have fun. Sounds like you're just an asshole slacker.

    31. Re:Kind Of Vague by Anonymous Coward · · Score: 0

      There's also the question of time spent switching tasks.

      For several week, I had the luxury of saying "this is more important than anything else going on, don't interrupt me" - and people actually listened. At that point, I was coding 70hrs a week for about 3 weeks, plus another 10hrs or so of project planning etc.
      I was in a groove, executing on designs I had already made on tasks that were clearly scheduled.

      All of those are essential. Coding involves loading a lot of information into your mind - particularly with large software architectures. Building the mental roadmap of all those interactions takes time. Exactly like a computer, jumping to another task empties that from memory and requires it to be rebuilt when you return to coding.

      Other tasks may be coworkers, support calls, having to redesign something or jump to a different area of the application because a dependency was left out of the design or schedule.

      So, I dislike the sprint analogy. Trains are far more appropriate - so long as you have tracks, steam and don't have to wait for someone else at a crossing, you should be able to keep going.

      There other factor that's worth considering:
      The difference between the total productivity of an average coder and an excellent coder is roughly a factor of 10. It may be the excellent coder can focus longer, it may be they produce more per minute coding, or have to revise (or fix) less. And that's ignoring the below average coders.

      I'm not sure if it answers your question, but it might give you a hint of where in the spectrum you lie.

      Cheers,

      NoClue

    32. Re:Kind Of Vague by Anonymous Coward · · Score: 0

      I've been writing code for 18 years and even though I started very young I have never managed more than 4 hours per day "in the zone."

      Well, occasionally I've done 8 or 12 hours "in the zone" but it's pretty rare. And, of course, as you said, "in the zone" is painless and flies by and the rest of the time can easily be consumed by thinking about a problem or just hacking around but... I'm pretty confident 4 hours a day, day in day out, is about as good as it gets as far as real coding goes.

    33. Re:Kind Of Vague by ShakaUVM · · Score: 1

      >>That would be a capital offense in Washington..

      Indeed. So instead I got offered a nice job at Proctor and Gamble for the work I did for them on this project. The private sector is kind of cool that way.

      Turns out the job was in Ohio, though. :/

    34. Re:Kind Of Vague by Anonymous Coward · · Score: 0

      I know it wasn't sweatshop labor or anything, I was able to quit and it wasn't particularly hot in there, but reasonably smart people that study and learn a usable skill shouldn't have to live like that. Not in the US.

      Nobody should have to live like that.

    35. Re:Kind Of Vague by Peach+Rings · · Score: 1

      17 hours a day for 60 days? Sorry, I call bullshit.

    36. Re:Kind Of Vague by Billly+Gates · · Score: 1

      "Fuck that old job and fuck that employer... it wasn't worth it. When I went to leave they offered me another 15k to stay... that's how bad I was being raped all along. Obviously I told them no. I know it wasn't sweatshop labor or anything, I was able to quit and it wasn't particularly hot in there, but reasonably smart people that study and learn a usable skill shouldn't have to live like that. Not in the US."

      There are many with masters degrees who would beg to be treated like this and work 2 jobs due to being underemployed thanks to the great recession. I am one of them (ok my wife has the masters). I plan to work 2 jobs to make up for the fact I am underemployed and am very poor due to 60% of my income going to useless student loan payments.

      You should be grateful you have a job.

      Maybe I sound bitter but the accountants and process engineers take notice to people who do not overload themselves and wonder if one person can do their jobs instead of two. It would be nice to have real working hours but it seems the American workplace worships overachievers.

    37. Re:Kind Of Vague by Gr8Apes · · Score: 1

      I run my own business now. I get quality work done in short amounts of time, and enjoy life with all my free time. If my business went under, I think I'd have a really hard time going back to an office job. I'm spoiled rotten.

      And that's why you do the intense bits of coding - 100+ hours a week for 3-4 months straight. If it's something you believe in, you can pull it off. However, everyone has their limits and they're all different. Some can only handle a few days, others months. Most drop off around 6-9 days of 12+ hours per day.

      But - the real measure isn't how many hours you code, but how functional and well designed and maintainable that code is when you're done. Sometimes I wind up with less code after 12 hours than I started with, and it does more. (One of the benefits when you work for yourself is your productivity is not measured by LOCs).

      --
      The cesspool just got a check and balance.
    38. Re:Kind Of Vague by tomhudson · · Score: 1

      They can't find developers anywhere that want the work (its like a black mark on your cv *)

      Are you KIDDING? The porn industry is, and has always been, at the cutting edge of tech. They were streaming multiple live video streams while Youtube was a "sometime in the future" thing. porn and gambling might be smutty, but they certainly don't hurt your cv as a developer.

      they rarely have offices

      not true.

      and I doubt their management has any set work hours (usually managed by the sole owner).

      I talked with one of the largest porn operators back at the turn of the century when he stopped in where I was working - he makes enough $$$ that he pays other people to do the "work hours" thing. Good money, good working conditions, projects that are interesting from a technical standpoint ... (but it was a Windows shop ... blech! You have to pay me double to work with Windows, simply because of the higher level of frustration and cluelessness).

    39. Re:Kind Of Vague by LongearedBat · · Score: 1

      Ditto to that.

      On average I'll work for about 30 hours a week in the office. That includes thinking hard and coding. If I work 40 hours, my total productivity actually drops. So I produce better results and faster in 30 hours than in 40 hours. Some days I'll sit focussed for 10-12 hours, then the day after... I'm not as productive.

      At one job we had lots of meetings and code walkthoughs, and 9 hour days were really easy, as it's much easier than doing hard coding. I actually felt I was being paid for doing very little, when that's probably the level at which other people are used to working.

      Being paid by the hour, my clients don't mind, because they end up paying less for more productivity. Something's not fair here. But my concience is clear and I have the freedom to walk into the office a couple of hours late (once the managers have figured me out).

      Also, I never browse the net and stuff around on paid time, because that's not what I'm paid to do.

    40. Re:Kind Of Vague by ImNotAtWork · · Score: 2, Interesting

      A very wise electronic systems guy (use to be a telephone guy before e-systems) once told me. "Always leave at least one thing to do for tomorrow." (when working for an employer)

      --
      open source sub sim. I might start coding again for this. http://dangerdeep.sourceforge.net/contribute/
    41. Re:Kind Of Vague by Anonymous Coward · · Score: 0

      I don't want to make light of your personal situation, but I'd like to point out something.

      I'm assuming

      1) you're white
      2) You're between 25 and 44

      The unemployment for your demographic is 3.7%. Up from 2.3% in 2007.

      Given your wife is

      1) female
      2) white
      3) between 25 and 44
      4) Has a MS degree

      Her demographic unemployment rate would be around 2.1%, possibly lower.

      Perhaps you live in the wrong place?

    42. Re:Kind Of Vague by Anonymous Coward · · Score: 0

      I love you man!!!
      I'm in the same situation but in Switzerland.
      You are right when you say that reasonably smart people that study and learn a usable skill shouldn't have to live like that.

    43. Re:Kind Of Vague by DenialS · · Score: 1

      Wow... I could have written what you wrote, that hits really damned close to home. Two differences:

          * I find that occasionally my dreams do produce practical solutions to programming problems, occasionally forcing me to just get up and try it out - because otherwise I'll toss and turn and obsess over it.
          * I no longer get into the zone much anymore, as I have two toddlers that dislodge me very regularly (for better or for worse... mostly for better on the human side).

    44. Re:Kind Of Vague by Anonymous Coward · · Score: 0

      I still love to code but I now have a real relationship (not just sex buddies)

      You mean to tell me you once had a 'sex buddy'? No shit!

    45. Re:Kind Of Vague by Anonymous Coward · · Score: 0

      Also, I never browse the net and stuff around on paid time, because that's not what I'm paid to do.

      Sad indeed is the life that hath no Slashdot at work.

    46. Re:Kind Of Vague by MadMagician · · Score: 1

      I normally program 60+ hours/wk, but I'm only in my 60's. I know a guy in his 80's, who normally programs 80+ hrs/wk.

      You young punks are pathetic.

    47. Re:Kind Of Vague by haruharaharu · · Score: 2, Insightful

      My code does compile and run the first time. It only runs as expected once it's been verified to produce the right output. That often takes as long as the original code.

      --
      Reboot macht Frei.
    48. Re:Kind Of Vague by Anonymous Coward · · Score: 0

      We are both employed. My wife is a teacher so she earns less than other people with a masters and I graduated with a degree in business administration and used to do I.T. work 3 years ago.

      I guess no recent experience has made me unhirable as I am a substitute teacher.

      Our loans are a few thousand a month for school so the squeeze is there. I would get a masters in Information technology otherwise but more debt is not that answer.

      With rent $1500 + $2500 for student loans this nearly impossible to feed ourselves. With no accounting or business experience it makes me unhirable for even an entry level job as all the employers want +5 years or they wont even talk to you.

      I blame myself so fair enough you bring this out. Would I put up with the strict work environment if it means I no longer have to live in poverty? You bet!

      Not everyone has the opportunity to just jump ship and do what they like. Remember this as you are replaceable from a lot of desperate people like myself who have degrees, experience, and certifications.

    49. Re:Kind Of Vague by Rogerborg · · Score: 1

      Perhaps - and I mean this as sincere advice - you're doing poorly in the workplace because you're a self pitying whiner?

      --
      If you were blocking sigs, you wouldn't have to read this.
    50. Re:Kind Of Vague by drewhk · · Score: 1

      The problem is, that getting out of and in the zone is mentally costly, and that means that many of us ends up programming in heroic bursts, and unproductive days after these bursts. The hardest part to learn self-control and maintain a strict daily schedule (and weekends are taboo -- for me this is still the hardest).

    51. Re:Kind Of Vague by Dr_Barnowl · · Score: 3, Insightful

      All that said, and acknowledged, I wish I could "zone out" at will. I enjoy my life a hell of a lot more when I'm being productive.

      I get "zone" times, but find it hard to do at will. I think that's linked to my opinion of the general quality of the project I'm working on ; I'm much more likely to zone out when I'm motivated or enthusiastic about things. Much less so when I think the project is a ... tasered sheep on meth.

    52. Re:Kind Of Vague by whong09 · · Score: 1

      That's fucked up. Did they chain you to your chair while you were working too? Sounds like slave labor.

    53. Re:Kind Of Vague by Anonymous Coward · · Score: 0

      I always thought the work of a developer is not coding only. Indeed the visible aspects of his work are the code written but me as a developer I work much more then those few hours spent actually writing code. So if you are payed hourly you should probably bill twice the time you actually write code.

      I am thinking that I should also be payed for the time when I'm in bed trying to sleep and then suddenly I figure out a solution for my problem. Or when I'm having a drink with a developer friend and talking about software I realize what I did wrong earlier that day while coding. Or even failure during sex because of a nasty bug you found earlier that day. At least the bug got fixed. :)

    54. Re:Kind Of Vague by X10 · · Score: 1

      It's not hard to separate "thinking" from "doing". "Doing" is what you do first, "thinking" is the thing you do next. People tell me that there are programmers who do it in reverse order.

      --
      no, I don't have a sig
    55. Re:Kind Of Vague by Anonymous Coward · · Score: 0

      Interesting, just one nitpick, people in sweatshops can quit

      Not always. There are still places where they lock the doors, and at night you go to your company cot, and if you're seen even TALKING to an outsider, you're fined.

      Two things, first, even the people in those places can *in theory* quit. The problem is the majority of time they MUST stay because they need to get the money to eat.

      The second is related to the door locks. When she was younger, my wife worked for 3 months (I think that's what she told me) in a Jeans manufacturer in the north of Mexico (not the frontier but more like center/north of Mexico). She had just finished her "manufcturing engineering" career and got a job at this place.

      She told me that every day, people arrived at 8:30am (a bell rang at that time) to this big warehouse-like building. At exactly 8:30 everybody will have to be *inside* because doors where closed and locked (if you arrived 1 minute late so sorry, you didn't work and did'nt got paid that day).

      There was a eating pause at around 1:30 (I think 1 hour). After that the bell rang again and everybody had to return to whatever they were doing, that until around 7:00pm in the evening. To make it worse, upper management were assholes that knew that for each employee they had, 10 people was waiting outside to work... so they treated the employees as thrash.

      Even though she was in a relatively high position (some kind of group manager), my wife got tired pretty fast (I can see why!) and quit after 3 months.

      The sad thing is that the people that worked there (men and women) sewing and manufacturing the clothes *needed* so much those jobs that had to endure all the crap. For a lot of people is either that, crime or die of starvation.

    56. Re:Kind Of Vague by psy0rz · · Score: 1

      I recognize this to, altough i do get enough sleep and spend time doing other stuff. I usually try to work until i reach a good "stopping point". e.g. a (couple) of bugs solved, a new feature ready, etc. This way its easier to take your mind of it and get some rest. If you dont do that, the problems you describe do occur: you keep on going because everything goes well and smooth, and its fun. But after a couple of days you get tired, sick , exhausted, have trouble sleeping, dream about code etc. At this point you get inproductive and make mistakes, or even have to take a day or 2 'rest' to 'recover'. Especially dreaming about code is bad, you have to prevent that, by stopping a hour or 2 earlier, and do other non-computer related stuff. Otherwise your brain wont rest enough and the same problems might reoccur. Some tips: -whenever you need a short break or are compiling, clean up your house and do the other 'dumb' stuff you normally dont do. This way you move and stuff gets done. Just cleanup a few things at a time. -dont go to bed right after coding, build in some relaxing time. -try to stop at a good point so your mind doesnt have any problem left it wants to solve: this means sometimes you work longer, but sometimes you work SHORTER and DONT start working on a new problem. very important: once you started a new problem, its too late and you're locked in ;) -what also helps a lot is meditation: but you have to take time for it and have to ease into it. Its not something you should schedule and rush. :) -if you work together with someone, get together at least once a week when the weather is nice, and take a walk, talking about work, code, or other stuff. -try to do meetings you have with 1 or 2 persons outside while walking or sitting outside somewhere. But its true: its always hard to keep the right balance between coding and 'the rest'. :) I'm always had this problem a bit, nice to see i'm not the only one. Someone else has any tips like these?

    57. Re:Kind Of Vague by psy0rz · · Score: 1

      sorry about the bad formatting, this time in plain old text:

      I recognize this to, altough i do get enough sleep and spend time doing other stuff.

      I usually try to work until i reach a good "stopping point". e.g. a (couple) of bugs solved, a new feature ready, etc. This way its easier to take your mind of it and get some rest.

      If you dont do that, the problems you describe do occur: you keep on going because everything goes well and smooth, and its fun. But after a couple of days you get tired, sick , exhausted, have trouble sleeping, dream about code etc. At this point you get inproductive and make mistakes, or even have to take a day or 2 'rest' to 'recover'.

      Especially dreaming about code is bad, you have to prevent that, by stopping a hour or 2 earlier, and do other non-computer related stuff. Otherwise your brain wont rest enough and the same problems might reoccur.

      Some tips:
      -whenever you need a short break or are compiling, clean up your house and do the other 'dumb' stuff you normally dont do. This way you move and stuff gets done. Just cleanup a few things at a time.
      -dont go to bed right after coding, build in some relaxing time.
      -try to stop at a good point so your mind doesnt have any problem left it wants to solve: this means sometimes you work longer, but sometimes you work SHORTER and DONT start working on a new problem. very important: once you started a new problem, its too late and you're locked in ;)
      -what also helps a lot is meditation: but you have to take time for it and have to ease into it. Its not something you should schedule and rush. :)
      -if you work together with someone, get together at least once a week when the weather is nice, and take a walk, talking about work, code, or other stuff.
      -try to do meetings you have with 1 or 2 persons outside while walking or sitting outside somewhere.

      But its true: its always hard to keep the right balance between coding and 'the rest'. :) I'm always had this problem a bit, nice to see i'm not the only one.

      Someone else has any tips like these?

    58. Re:Kind Of Vague by quadrox · · Score: 1

      argh goddamnit, now it happened to me, moderation mis-click. Too bad about all the other positive mods I made in this thread, sorry guys :/

    59. Re:Kind Of Vague by hesaigo999ca · · Score: 1

      >the zone
      Yes the zone is what one mus find quicker and quicker with each passing day, until it becomes like a light switch

      >I found that working about four hours a day
      Wow, wish I had that possibility at my work, except they don't take kindly to sitting doing nothing for the the 4 hours left in the day. I program until I get what I am working on right, usually a full day, sometimes a few hours, depending on the problem, but I don't include debugging as programming time, even though it takes about half the time of my programming does...

    60. Re:Kind Of Vague by Anonymous Coward · · Score: 0

      That is insanely bad. Programmers shouldn't be treated like cashiers. I can probably top that though: when I left a previous IT job the company offered a mentor of mine nearly 100K to take over the job I'd been doing, which was nearly three times what I was making. (My assistant quit when I did) He turned it down and used the offer to bargain a better package at his existing job, and the company ended up nearly bankrupting because they never got the IT they needed. Last I heard, they're a skeleton crew and laid off most of their employees.

    61. Re:Kind Of Vague by lwsimon · · Score: 1

      While I agree that this is a sad way to live, as you said - the alternatives are crime or starvation. I truly don't understand why people blame employers for the conditions in places like this. While there is really no excuse for piss-poor management, the cheaper the employer can get the product made, the better.

      --
      Learn about Photography Basics.
    62. Re:Kind Of Vague by Drethon · · Score: 1

      Yep I have an internet browser up the whole day and read articles on the side, probably work half the day really giver or take, but I'm told I out perform most every one else at my level...

    63. Re:Kind Of Vague by hal2814 · · Score: 1

      "With rent $1500 + $2500 for student loans this nearly impossible to feed ourselves. With no accounting or business experience it makes me unhirable for even an entry level job as all the employers want +5 years or they wont even talk to you."

      Can you get those student loan terms stretched out some? Even taking a hit in interest may be worth it. Also, you may want to take the GP's advice and rethink where you live. When I was a kid, the residential construction market died in Texas. We lost everything we had. One day, my dad found himself bidding against a family member on a construction job because they both needed it so badly. About a month later we moved to Georgia. It wasn't all sunshine and rainbows here but there was work. And over time we ended up better off than if we had stayed.

    64. Re:Kind Of Vague by Delkster · · Score: 2, Interesting

      Why do you think that you have the right to waste the employers time and money watching youtube videos, updating facebook and surfing the web. They are paying you to work, not to have fun. Sounds like you're just an asshole slacker.

      I might agree somewhat if GP had talked about 25 hours a week or something, but 40-50 hours of true working time a week in a programming job without slacking is bordering between heroic and impossible.

      Nobody I know can really program -- or do another similar mentally intensive and somewhat creative work -- very efficiently for even 8 hours a day without having small breaks every now and then. If you don't have those breaks consciously, your brain begins to have small breaks every now and then, your concentration will falter more easily, and you begin to make more mistakes. Even if you think you're constantly working at full steam, your brain probably isn't. The difference is that making those breaks conscious (and not having superiors watching you all the time as long as you get your job done) is a lot more comfortable and less stressful than trying to force yourself through without them to no avail.

      Of course there's the occasional case of deep hack mode now and then where you can focus on your single task for hours and hours on end, at least seemingly without loss of productivity, but most people certainly can't keep that up all the time. Perhaps some exceptionally focused people can do it a lot of the time but most people certainly can't and would just be cheating themselves if they pretended so.

      For that vast majority of people it's simply inevitable that working 40-50 hours a week (as GP said he did) will mean mental breaks every now and then, much more often than 2x10 min + lunch per day. I'd say that regularly working upwards of 40 hours a week in a programming job doesn't make much sense in the first place, though, for the very reason that most people will have their productivity suffer if they try to do that. They simply wouldn't get much (if any) more work done in total if they tried to do 50 hours per week rather than, say, 35. The total work done would just span over a longer period of time with more breaks and non-productive periods in between, whether conscious or not.

      If GP's managers in the job he described didn't understand this, and they were actually monitoring him to make sure he (supposedly, not actually) was getting things done all the time, they were fighting against the very reality and were doing so at GP's expense, and probably also at that of the employer because GP wasn't at his most productive. I fully understand his frustration with the situation.

      An anecdote is always just that, but sometime last year I was working part-time around 25-30 hours a week on a project (mostly non-programming, though, but in a software project nevertheless), and if I wasn't at the most productive I've ever been, I was at least damn close to it. That is, I've got more things done within an single week than I got within a single week at that time but the productivity I was able to sustain for a few months was almost certainly higher than that of any other period of similar duration. I was highly motivated and was working pretty intensively and productively (not entirely without surfing/youtube/whatever breaks, but with relatively few of them, and with strong concentration), but I certainly couldn't have kept the same pace for even 35-40 hours a week, much less 50. I'd probably have got less done in total if I had tried to do that. If someone had forced me to do that and expected me to do it without any slack, they'd have also shot themselves in the foot, not just me. My managers were smarter than that.

      I appreciate high motivation to work but it should be motivation towards getting things done, not towards sweating your ass off. The amount and quality of "done" in a programming job doesn't scale with the amount of effort infinitely, and maximising the latter rather than the former just makes no sense.

    65. Re:Kind Of Vague by Anonymous Coward · · Score: 0

      sorry about the bad formatting

      I refuse your apology!

      I demand satisfaction! We will meet at dawn, and fight to the death. The weapon will be ... original IBM PC hardware reference manuals.

      Otherwise, good tips, especially about stopping when you hit a predefined stopping point. It is sad I have to kill you.

    66. Re:Kind Of Vague by Billly+Gates · · Score: 1

      Thank you for your encouragement.

      I wont whine anymore like the other poster mentioned.

      Its bad everywhere. I blew $10,000 moving to Alaska from California where everyone there was hurting because the economy is better here.

      I can stretch my loans but they will not be federally protected and have prepayment penalties and double digit interest rates which are BS. I would then be paying hundreds of thousands in interest and can not pay more to get ahead when times get better. I am surprised this is legal. A decade from now I will have to be worrying about my kids college debt and I should not be concerned with mine.

      My point was that many people do not realize how good they have it at work. I do have a problem with people who are not productive since many like myself want these jobs to support ourselves. The GP has a right to quit his former job but it seems reasonable to expect his former employer to want solid ROI and be upset if he quit without advanced notice. Even in America this kind of environment should be expected regardless of education. In a global workforce many are ready to jump and should be given a chance if they can work harder.

      "The best way to appreciate a job is to go without one" -Oscar Wilde

    67. Re:Kind Of Vague by pnutjam · · Score: 1

      There are some new income based repayment options for student loans, if they are federal guaranteed loans. I believe the remainder is forgiven after 20 years, 10 if you work for a non-profit.

    68. Re:Kind Of Vague by Anonymous Coward · · Score: 0

      It's entirely possible to work well over 40-50 hours a week doing that sort of work, but it takes a toll.

      I managed a 6-hour work/sleep cycle with 90 minutes asleep, 60 minutes doing other random stuff, and 3 1/2 hours working--that's 14 hours of focused work a day--for about a month. (~350 hours total, counting a couple of days off, and I did as much as I normally would have in 4 months or so.)

      I don't think I'd ever do it again, but this sort of thing *is* humanly possible. However, just because it's possible doesn't make it a good idea.

    69. Re:Kind Of Vague by Delkster · · Score: 1

      I don't think I'd ever do it again, but this sort of thing *is* humanly possible. However, just because it's possible doesn't make it a good idea.

      I agree -- but let's remember that a month is a pretty short time. If you can manage to do something only for a month, it's not sustainable, and it's not reasonable to compare it to the regular effort at any job. Crunches are possible but they should be a true exception, not the norm.

    70. Re:Kind Of Vague by FiloEleven · · Score: 1

      and if you're seen even TALKING to an outsider, you're fined.

      I'd say that's one easy way to quit.

    71. Re:Kind Of Vague by Anonymous Coward · · Score: 0

      So you failed in your attempt at highlighting the good from the static and then make up for that by adding to the static... Good show:-P

    72. Re:Kind Of Vague by LBt1st · · Score: 1

      I know your just trolling but I'd still like to explain that my point was I couldn't maintain a normal relationship due to my obsession. I always gave priority to my projects and neglected the important people in my life. I had girls around for sex but no real relationship till recently.

    73. Re:Kind Of Vague by Gefion · · Score: 1

      Strangely enough, I noticed exactly that "zone" behavior in college a few years back... worked right through the night completely oblivious to the time/space continuum and having a blast until it was the next morning and the first class of the next day started walking in the lab. I stepped away from the desk, decided I didn't have the will or fortitude to master my own obsession, and instead of becoming a lost hermit in a cave writing awesome code (in my own mind), switched careers to engineering and then to the ultimate sell out on /., to technology sales.

    74. Re:Kind Of Vague by bartok · · Score: 1

      "Not in the US"

      Yeah, American deserve better treament than the rest of the world!

    75. Re:Kind Of Vague by ShakaUVM · · Score: 1

      >>Wow, wish I had that possibility at my work, except they don't take kindly to sitting doing nothing for the the 4 hours left in the day.

      If you have a good boss, who knows how to manage techies, he'll understand. Techies are much more goal oriented than hours oriented. A buddy of mine works for Microsoft, and most of the people in his division do some or all from their work at home.

      I decided that I'd rather just work for myself, and have been loving it.

    76. Re:Kind Of Vague by DavidTC · · Score: 1

      You really shouldn't work like that. You're ripping yourself off.

      Everyone, at most, only spends half their time doing actual productive work. No one can do productive things 8 hours a day.

      In blue collar jobs, this gets disguised by 'working slower'. Assemble lines operate slightly slower than people could do, people wander around, etc.

      In white collar work, it's much the same way. People read email, have meetings, 'plan', etc. (Look at me, I'm on slashdot!)

      The fact you can do your four hours of work straight is nice and all, but you need to figure out what to do with the rest of your time.

      Think of it this way...what you could hypothetically should be doing is working eight hours straight each day...which would wear you down and require you to relax and not get much done every other day off, right?

      So there you go. Same amount of work done if you didn't leave early. You've just decided to structure it as four hours a day so it doesn't wear you out. (Saving sick days and stress related healthcare costs.)

      --
      If corporations are people, aren't stockholders guilty of slavery?
    77. Re:Kind Of Vague by Anonymous Coward · · Score: 0

      The word for that is "manic". It's not healthy. It's not just something every hacker does. I read an interview with Charlie Miller, the guy who's won the pwn2own contest for the Macintosh at CanSecWest three years in a row. He said he works 40 hour weeks, same hours every day Monday-Friday.

    78. Re:Kind Of Vague by ShakaUVM · · Score: 1

      I work on contract basis now, which means when I get work done, I send in an invoice and am done with it. Billing hourly is soul-killing.

    79. Re:Kind Of Vague by Draugo · · Score: 1

      If you have so much frustration when working with Windows, it just means that you are doing it wrong and fail.

    80. Re:Kind Of Vague by Anonymous Coward · · Score: 0

      First you need to learn a little more about the process.

      Check out Flow and Finding Flow, you need a well defined task, no distractions, etc.

      The part about a well defined task is key, badly written requirements frustrate your brains attempts to define the problem and come up with a solution.

    81. Re:Kind Of Vague by tomhudson · · Score: 1

      If you have so much frustration when working with Windows, it just means that you are doing it wrong and fail.

      ... or that everything just works so much faster and better on the same hardware when I'm not running Windows.

    82. Re:Kind Of Vague by Anonymous Coward · · Score: 0

      He meant: not in the US; or first world should this be acceptable. It shouldn't be acceptable in third worlds, but it is currently the norm for them, so that can be harder to argue. Like slavery shouldn't be in the third world... but it is.

      Don't get upset because he didn't mention your country specifically, or because he mentioned the country that this website is located in.

      Anytime people tend to mention US here, foreigner's always chime in about how they themselves aren't US. Why can't we just drop the "my country is better than yours" act? You only act equally discriminatory.

      The next time someone chimes in that they are from Europe, how bout I make a post saying shut the hell up, I am from America? Catch my drift?

  2. Programming by sopssa · · Score: 4, Interesting

    As long as you're interested in what you program, you can easily do it full work days. However it seems like you're doing the usual code monkey job - these effects are what happens when its not fulfilling or at all interesting. Not in your area of interest and not challenging in the needing-to-think-and-solve-problems way, but just to produce code. That's what it basically comes down to.

    A friend of mine gets his job done and still plays computer games and codes his own projects at work a lot. Since he gets his work done, it's not a problem (though he hasn't told this). Another programmer I know spends 30-40 minutes breaks playing Civilization or other games he enjoys and his boss knows this and likes it because after those gaming breaks he has unwind, maybe has think some of the problems and gets really good programming done again. But he works at a software house, attends to meetings and is in other ways involved in the business too.

    It's no surprise that so many programmers also go as developers later. You get to solve actual problems and do more interesting stuff. When you were a teen, you didn't just program - you developed and spend time thinking what you did. It's no fun if you leave that part out.

    1. Re:Programming by unother · · Score: 0, Redundant

      What he said. Exactly.

    2. Re:Programming by mikes.song · · Score: 5, Insightful

      Yeah, if you are working on your own projects, it's easy to do a sixteen plus hour stretch. Some cola, pizza, and your imagination.

      But, if you are implementing someones broken business logic or accounting rules, I'd guess that three to four hours a week is the norm.

    3. Re:Programming by nemasu · · Score: 2, Informative

      Bang on. At my previous job I was not just a programmer, I was a developer (ie. involved in design), and I was making something that I found very interesting. We were a small group, so you were on your own most of the time and was challenging, which I enjoyed. I found myself looking forward to work and even staying late to finish whatever thought process I currently had. Now...I hold the Programmer title and work in spurts at boring and uninteresting projects watching the clock so I can bolt out the door as soon as possible. Obviously, at the moment, I am off-spurt.

      --
      I made an app! Shoutium
    4. Re:Programming by Anonymous Coward · · Score: 2, Informative

      Bingo.

      I'm also a code monkey who turns business logic into php websites. I reckon I do a bit better than the OP but not much. Maybe 20-25 hours out of my 37.5 a week.

      I work on my own non php code in spare time. I can pull more hours on that per week in my spare time than I can in my paid-for daily work.

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

      I don't know if it's normal or stealing, but I sure have read a lot of slashdot today when I should have been code monkeying.

    6. Re:Programming by MikeFM · · Score: 2, Interesting

      If it's my own project that I'm interested in and I have no outside distractions or pressing concerns I can program 20 hours a day but when it's work or I have a kid climbing over me or a wife that keeps wanting me to come out of my cave then it's a lot harder. I especially find deciphering other people's bad code and documentation draining but if I'm doing something really hard like designing a prediction system to suggest what products customers will buy based on random factors such as time of year, time of day, weather, what site they came from, etc THAT will keep me involved for quite a while (statistics, neural nets, and genetic programming all in one - fun!). I'd rather sit and figure something tricky out and bash out code than play video games or watch tv any day.

      I keep thinking I need to schedule a week every couple of months where I just get a hotel room somewhere by myself, turn off the phone, email, im, and Slashdot/Facebook/etc and just write code the way I used to before I had a family and an on-call job. It was those sessions of intense coding where I came up with the best stuff. It's damn hard to do when you're coding in thirty minute blocks.

      --
      At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
    7. Re:Programming by Anonymous Coward · · Score: 0

      so you're not saying it wasn't redundant... you're just want to make sure that everyone knows it was redundant for a reason?

      his words are different, so did you really mean "he said what i meant better than i did"... or "i already said that better than he did"...

      either way, not worth saying.

      -1

    8. Re:Programming by rockNme2349 · · Score: 1, Redundant

      FAQ

      Be Original: Avoid being redundant and just repeating what has already been said. Smirk. Yes, being moderated as "redundant" is worth "-1" to your post and your karma. Especially to be avoided are the "what he said" and "me too" posts.

      Take note of the first quoted comment to avoid. I understand that you feel like his description matches your experience, but you haven't added anything to the conversation. Your comment was certainly not harmful, but it wasn't helpful. Hence the Redundant moderation. All you need to do is say What he said, and then expand on your situation and you have a recipe for an insightful post. Also if you really want to make sure you get moderated well, add in a "I know i'll get modded down for this but...". Moderators love that shit.

      --
      Sewage Treatment Facilities - "Our duty is clear."
    9. Re:Programming by dsginter · · Score: 4, Interesting

      As long as you're interested in what you program, you can easily do it full work days.

      I think that you are missing the lower level question:

      How many hours per day will your brain allow you to be functional at a given task?

      When I did lots of SQL-based web development, I would toil away for 12-16 hours on some days only to have the answer in my head after a good night's rest. This happened a lot (and was a little frustrating to do in 10 minutes what could not be done in 10 hours the day before). Maybe I just suck at SQL-based web development but the whole concept of a mental limit is interesting to me.

      --
      More
    10. Re:Programming by Quirkz · · Score: 2, Interesting

      My "hobby" of sorts is programming a web-based game on evenings and weekends and holidays. It's hands-down the most fun thing I've ever done, and there's no way I could code 8 hours straight. Thankfully the game requires I wear a lot of hats: creative writing, strategic planning, image manipulation, and other stuff on top of coding. So on a good day if I put in close to 8 hours of work, I may only be coding for 2, which turns out about right. Enough to be satisfying, not so much I feel my brain is melting.

      What gets me is the tedium of error checking, mostly. I may have to do slightly more of that than what most coders face, since the web-based nature of the game means users can insert just about any darn thing they please. It may be 30 minutes of putting together the framework, an hour of cleanup and error protection, and then half an hour of testing to make sure it does what I want it to do -- not sure if most of you consider that "coding" or not, either. Heck, a lot of purists don't consider PHP to be coding in the first place, I suspect.

    11. Re:Programming by Anonymous Coward · · Score: 1

      When I did lots of SQL-based web development, I would toil away for 12-16 hours on some days only to have the answer in my head after a good night's rest. This happened a lot (and was a little frustrating to do in 10 minutes what could not be done in 10 hours the day before). Maybe I just suck at SQL-based web development but the whole concept of a mental limit is interesting to me.

      That sort of thing happens to me a lot as well (in programming in general). I always think that there's some part of our brain that continues to work on a problem even after moving on to other things. Sort of like a background process or something. Then sometime later your subconcious figures out the answer and lets the concious brain know what it is (i.e. the "Eureka!" moment).

    12. Re:Programming by mwlewis · · Score: 1

      That's nothing! When I mod, I usually oblige people who say things like, "I'll probably get modded down for this." I figure it's the least I can do. Then some grumpy meta-mod comes along and disagrees with me. Two against one, I say.

      --
      JOIN US FOR PONG!
    13. Re:Programming by unother · · Score: 1

      *sigh* Pedantism--Slashdot's ugly cousin.

    14. Re:Programming by shovas · · Score: 1

      ...or accounting rules...

      L.O.L.

      ...having just come from two days of accounting coding...

      --
      Selah.ca. Pause, and calmly think on that.
    15. Re:Programming by martin-boundary · · Score: 4, Insightful
      Those 12-16 hours are the price for discovering the 10 minute solution (assuming you didn't just fart around for 12-16 hours). You wouldn't have found the 10 minute solution without them, because it took that long to gain experience in the problem domain and learn how NOT to do things.

      Once you have the experience, the next time you're faced with the same problem, you'll come up with the 10 minute solution without the 12-16 hours of thrashing about.

    16. Re:Programming by TapeCutter · · Score: 1

      "How many hours per day will your brain allow you to be functional at a given task?"

      24 when I worked the fishing trawlers but towards the end of the third day the fish start talking to you.

      --
      And did you exchange a walk on part in the war for a lead role in a cage? - Pink Floyd.
    17. Re:Programming by DrInequality · · Score: 1

      Or, given the output of Redmond, working on a crufty Windows codebase...

    18. Re:Programming by tomhudson · · Score: 2, Funny

      "How many hours per day will your brain allow you to be functional at a given task?"

      24 when I worked the fishing trawlers but towards the end of the third day the fish start talking to you.

      "We are NOT fish, you insensitive clod!"
      -- the dolphins.

    19. Re:Programming by bar-agent · · Score: 1

      24 when I worked the fishing trawlers but towards the end of the third day the fish start talking to you.

      I am curious about what the fish said to you.

      I haven't had things talk to me, but I have seen things out of the corner of my eye and heard voices or sounds that I couldn't have, and couldn't really make out.

      --
      i'd hit it so hard, if you pulled me out you'd be the king of britain [bash.org]
    20. Re:Programming by mdf356 · · Score: 1

      How many hours per day will your brain allow you to be functional at a given task?

      I agree with your sentiment, but in my experience there's often useful things to be done at work even when my brain isn't working terribly well. Things like a little variable renaming, to add prefixes to struct members so they can be grepped, or code refactoring aren't nearly as hard as solving problems, but they make the future work go more quickly.

      --
      Terrorist, bomb, al Qaeda, nuclear, yellowcake, kill, assassinate. Carnivore is dead... long live Echelon.
    21. Re:Programming by Anonymous Coward · · Score: 0

      I know of times that I have spent hours trying to make something work. Eventually, put it aside and then have the solution just pop in my head nearly a week later. I know of one case where I had written a function and easily described its input and output. Only to not be able to create its inverse. A sort of encoder/decoder project. I posted for help and someone wrote a very elegant decoder within a day. I was both shocked by its elegance and dismayed at how I had been so focused in one direction that I overlooked something so simple.

    22. Re:Programming by VeNoM0619 · · Score: 1

      Not always. It's the eureka methodology.

      Because you are so far into the code, you end up looking at the results of the code and attempting to change the output (or start from the beginning changing input). Then when you come back from a sleep, refreshed, you find yourself re-working the entire code or starting it from the beginning instead of getting stuck at the end results.

      Also, those 12-16 hours may help, but sometimes your logical side is absorbed in the 12-16, when you really need a burst of creativity instead. Dreams (daydreaming/relaxation) help inspire your creativity, so taking a break to "clear your head" can help.

      --
      Disclaimer: I am not god.
      We may not be created equal
      But we can be treated equal.
  3. that's easy by Anonymous Coward · · Score: 5, Funny

    That's easy! I can do 169, no problem. Of course, I'll be tired and I may make a mistake here and there.

    1. Re:that's easy by AndrewNeo · · Score: 1

      You mean like an off-by one? :-)

      I'm going to go ahead and give you a "wooooosh" right there.

      (If I have to explain that's the joke flying over your head, then I guess it wasn't funny.)

    2. Re:that's easy by Anonymous Coward · · Score: 0

      If its the right week you could do 169 - (middle of march in the southern hemisphere, october in the northern hemisphere)

    3. Re:that's easy by tomhudson · · Score: 1, Troll

      If its the right week you could do 169 - (middle of march in the southern hemisphere, october in the northern hemisphere)

      Really? So, on the day when we turn the clocks back, we gain two hours? (there are only 167 hours in a week - the original post had an off-by-one error, and so does youers)

    4. Re:that's easy by Antony-Kyre · · Score: 1

      Here, in the USA, October is no longer the longest month of the year. We moved DST to November, for the states which recognize it. So, it's the first Sunday of November which has that extra hour, which gives that week 169 years for that week.

    5. Re:that's easy by Pingmaster · · Score: 1

      how in the fuck do you get 167? any (whole number) multiple of an even number is always even. 24 hours / day * 7 days = 24 + 24 + 24 + 24 + 24 + 24 + 24 = 48 + 48 + 48 + 24 = 96 + 72 = 168. and if that's not enough, Google said so. http://www.google.com/search?source=ig&hl=en&rlz=&=&q=number+of+hours+in+a+week&aq=f&aqi=h1&aql=&oq=&gs_rfai=

    6. Re:that's easy by tomhudson · · Score: 1

      Psych! Made you look :-)

      A friend of mine did that to a waitress one time. She added up the bill - it was really simple - and he looked at her and said "Are you sure about that?" She re-did it. He asked her again. After the third time, she wasn't sure. Then she started getting wrong answers. Then she had to do it with a calculator - and getting MORE wrong answers (it was only 3 items). Finally, he clued her in.

      It's the same with one-offs. You can be sure, but then you second-guess yourself ... and then you go "I *know" the index starts at 0, and I've accounted for it ... but ...."

      Try it some time. You'll end up with people counting on their fingers, they'll be so perturbed.

    7. Re:that's easy by Anonymous Coward · · Score: 0

      Thanks for adding to the discussion Dick! errr... Tom! I meant Tom!

  4. Programming less effort than surfing the net by Anonymous Coward · · Score: 0

    Surfing the net takes more energy for me than programming. Reading takes more effort for me than programming. I can program 40 hours a week without fatigue.

    1. Re:Programming less effort than surfing the net by MrEricSir · · Score: 1, Redundant

      Well isn't that special!

      --
      There's no -1 for "I don't get it."
    2. Re:Programming less effort than surfing the net by Anonymous Coward · · Score: 0

      I can do your mom for 40 hours a week without fatigue.

    3. Re:Programming less effort than surfing the net by PIBM · · Score: 1

      I would not do yours for anything, seeing the result.

  5. Not a programmer but... by rwade · · Score: 3, Insightful

    I rarely get called to meetings (which is good) but that means to keep my brain from overheating I spend several hours a week surfing the web (usually reading tech news but also a few stops on Facebook, email, etc).

    My only work product is Excel spreadsheets and the occasional Word document. When I'm building these spreadsheets and documents, I'll get data for them over the phone, which I promptly type into my computer. The net impact is that I'm sitting at my computer all day, 40 hours a week. You just can't sit there and work spreadsheets all day, every day. If your job doesn't involve anything else, you're probably going to end up browsing the web to stay sane.

    1. Re:Not a programmer but... by CorporateSuit · · Score: 4, Funny

      If I can replace you with a program, can I get your salary?

      --
      I am the richest astronaut ever to win the superbowl.
    2. Re:Not a programmer but... by rwade · · Score: 1

      If I can replace you with a program, can I get your salary?

      You act like I'm just filling in forms with standard data -- not the case. Think of it more as a "spreadsheet programming." It's building unique relationships between cells, structuring tables to be presentable, etc. These are a little more complicated than just tables of raw data.

    3. Re:Not a programmer but... by Anonymous Coward · · Score: 0

      So, you hit '=' in some cells and click on other ones, and occasionally you change text/cell colors.

      Do you bold text sometimes too, or does that cost extra?

    4. Re:Not a programmer but... by Anonymous Coward · · Score: 0

      I give you a few months maybe a year before someone writes a program to replace you. Hell, with higher level languages and GUI based IDEs programming is being offloaded more and more to the machine. As a result they keep replacing us with ever dumber programmers paid ever lower wages. I give it a decade before a programmer replaces programmers with self-coding AI.

    5. Re:Not a programmer but... by MikeFM · · Score: 5, Funny

      I replaced Al Gore with a small script program and nobody noticed. I was going to replace Rush Limbaugh but I haven't yet figured out how to push that much spam through a pipe without exceeding my system resources.

      If your job is THAT involved I might have to break out something more advanced than Bash.

      --
      At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
    6. Re:Not a programmer but... by Anonymous Coward · · Score: 0

      Who said that the program needed to be simple? ;)

    7. Re:Not a programmer but... by rwade · · Score: 3, Funny

      Do you bold text sometimes too...

      I do, but I'm very good: keyboard shortcuts, you see...

    8. Re:Not a programmer but... by Anonymous Coward · · Score: 0

      like the OP said, if I can replace you with a program may I have your salary?

    9. Re:Not a programmer but... by Anonymous Coward · · Score: 0

      That's what you think, puny human!

    10. Re:Not a programmer but... by __aasqbs9791 · · Score: 1

      I don't the OP would be in a position to offer anything, especially if he was replaced.

    11. Re:Not a programmer but... by Anonymous Coward · · Score: 0

      Be careful, you'll be out of a job as soon as your boss figures out that you do monkey work all day, and that the relationship between cells is not "unique", and the "more complicated" tables of raw data can generate pretty reports using Crystal or Jasper (or even excel) in about 10 seconds per week compared to your 40 hours per week.

    12. Re:Not a programmer but... by Enigma23 · · Score: 3, Informative

      In the UK, if you're working sat in front of a monitor health & safety recommendations state that 'There is no legal limit to how long you should work at a VDU, but under health and safety regulations you have the right to breaks from work using a VDU. These don't have to be rest breaks, just different types of work.'

      I hope you take regular breaks away from sitting at your computer, for your sake.

      --
      Ceci n'est pas une .sig
    13. Re:Not a programmer but... by Anonymous Coward · · Score: 0

      King's Chair Carrier: You act like I'm just supporting the weight of the King - not the case. Think of it more as "being a dynamic weight bearer." It's shifting your grip and direction of resistance to keep the King from falling off his chair. It's a little more complicated than just being a load-bearer.

      Henry Ford: If i can replace you with a machine, can I get your salary?

      You are never irreplaceable. Be grateful for what you have while you have it.

    14. Re:Not a programmer but... by Anonymous Coward · · Score: 0

      Hmmm, yeah, it sounds like you're doing some data analysis. That itself is not a bad thing. Prototyping also not a bad thing.

      BUT if you are ever doing the same thing twice it's time to rethink automation. Where I work we generally have a group of people who think about a problem, then implement a solution which involves programmer time for custom code / custom interfaces. Sometimes there's a refinement phase. Because we do a fair job of hashing things out in advance, we seldom go down a totally wrong path. The general thinking is that machines are cheap and using people for administrative work which can be automated is not good for the people or the business.

      We commonly use a concept, "I know what you're asking us to do, but why? What is it you really need to do?". Otherwise you get requests based on a workaround: Make a shortcut on someone's desktop so they can access a certain folder to manually check that files are there for today, when what is really needed is an exception process to alert a group when the files aren't there. A few minutes of coding frees up that person to do bigger things.

      Case in point: We have a large vendor (rhymes with Red X) who doesn't have the capability to let us access our data in an automated fashion. They don't understand why it isn't acceptable to require a user to every week go clicky-clicky through their website, enter parameters manually, then download data file(s) and manually move them to a place where the backend processes can process it. I've been banging my head on my desk every time I speak with them because they just don't get it.

      (Anon for obv reasons)

    15. Re:Not a programmer but... by Anonymous Coward · · Score: 0

      I don't care what you're doing in Excel, it would be done better in R. Why? Because unlike Excel, you write a real program in R, which is reproducible. Combine R with LaTeX, and you will amaze whoever you're doing stuff for. I can't imagine having to go back to the hidden ways of doing things... ugh.

    16. Re:Not a programmer but... by CornflakeJustice · · Score: 1

      I do dictation (definitely not programming, but the sitting at a computer for hours on end is there) I usually work between 40 and 50 hours a week, and while the last couple weeks I've been doing some filing on the side, this past week has been awful for just sitting at the computer all day everyday. And I definitely find myself having to do surfing or similar somethings to not go crazy...

    17. Re:Not a programmer but... by johncadengo · · Score: 1

      Either you don't know anything about programming, or you're not fully explaining your job. What you describe, "spreadsheet programming, building unique relationships between cells, structuring tables to be presentable" is entirely possible to implement with MS Excel, VBScript, and some elbow-grease (that is, lots of if-then statements).

      --
      My page.
    18. Re:Not a programmer but... by ajlisows · · Score: 1

      I'm also not a "Programmer" for most of my day but I have written/maintain several complex Excel VBA apps, a few SQL Driven Web Apps, the company web site, and a small embedded solution. The rest of the time I do Network Admin type work.

      I started out as a consultant working a few hours a week for the company I am at. The guy who was doing most of the IT stuff has Parkinson's so I was just picking up some of the stuff he didn't have the energy to handle. After a year he really wasn't in a condition where he could continue to come to work so they asked me if I wanted to come on board. I told them I would work an 8x5 schedule if they wanted me to but I really don't do my best work in that fashion. I told them I do better with 4x6 on site and working from home for the rest of the time. By some utter miracle they decided that this was ok with them.

      Six hours seems to be my threshold for not dreading going to work for the day and remaining solidly productive the entire time. I come in and I am working within a minute of sitting down. I take 2, maybe 3 very short cigarette breaks but work solid the rest of the time....possibly checking my personal EMAIL once. On days where I don't have anything else to do, I'll jump on and bang out a few hours of work.

      I absolutely love this schedule and can't imagine how I ever dealt with working 9 hours 5 days a week. It will suck though when I eventually move on/get fired. I doubt anywhere else will let me do something like that.

    19. Re:Not a programmer but... by dudpixel · · Score: 1

      and unfortunately for us programmers, our jobs can also be (seemingly) replaced by offshore workers who will accept a tiny fraction of the pay. Guess who pockets your salary then? I'm pretty sure it isn't your company's clients.

      Its happening in my company right now...the decision was made by senior management, without consulting IT at all. All they can see is dollar signs. All we can see is greedy bosses and a big knife in our backs.

      We'll have the last laugh though. What happens to a billion dollar technology outsourcing company when 80% of its skilled IT staff leave. At least I'll have a new job soon and a lot more pay.

      --
      This seemed like a reasonable sig at the time.
    20. Re:Not a programmer but... by CorporateSuit · · Score: 1

      It is true that vengeance will be yours. My first contract job was as a programmer. I built off a simple core and brought an enormous project together. I was making peanuts off the project, but my company was charging an arm and a leg. The company, within 6 months of hiring us, went from a 90 million dollar to a 1.3 billion dollar company. They felt rather confident at this point, severed our relationship, and replaced me with 2 just-got-my-masters programmers and an overseas "expert". Within a month and a half, they were back below $80 million, and now they are bankrupt.

      --
      I am the richest astronaut ever to win the superbowl.
    21. Re:Not a programmer but... by Anonymous Coward · · Score: 0

      Wasn't it a bit risky placing that little easter egg (you know the Internet one) in the code, what if someone really noticed?

  6. Duh by xerent_sweden · · Score: 5, Funny

    168 hours per week. 191 if you're onboard Air Code One and circling the globe in DEFCON style.

  7. 80 by Anonymous Coward · · Score: 0

    80 is the limit.

  8. The 40 hour work week is God given by Anonymous Coward · · Score: 5, Funny

    Eight hours a day, five days a week was good enough for illiterate industrial workers doing manual labor when it was invented 150 years ago. I see no reason it shouldn't be a perfect fit for highly educated software engineers in 2010!!

    1. Re:The 40 hour work week is God given by 93+Escort+Wagon · · Score: 5, Insightful

      Eight hours a day, five days a week was good enough for illiterate industrial workers doing manual labor when it was invented 150 years ago. I see no reason it shouldn't be a perfect fit for highly educated software engineers in 2010!!

      I grok the humor attempt - but I want to point out that those "illiterate industrial workers" would've thanked God for a 40 hour work week. They were often working 10-12 hour days, six or seven days a week.

      There's a reason unions caught on so well, and a reason companies hired goons to fight them so fiercely.

      --
      #DeleteChrome
    2. Re:The 40 hour work week is God given by Anonymous Coward · · Score: 1, Insightful

      Eight hours a day, five days a week was good enough for illiterate industrial workers doing manual labor when it was invented 150 years ago. I see no reason it shouldn't be a perfect fit for highly educated software engineers in 2010!!

      One of those "illiterate industrial worker" I know is working 12h a day, 6 days a week.

      He couldn't do my job, but hell, I'm nowhere near willing to do his.

    3. Re:The 40 hour work week is God given by Anonymous Coward · · Score: 1, Insightful

      Eight hours a day, five days a week was good enough for illiterate industrial workers doing manual labor when it was invented 150 years ago. I see no reason it shouldn't be a perfect fit for highly educated software engineers in 2010!!

      I grok the humor attempt - but I want to point out that those "illiterate industrial workers" would've thanked God for a 40 hour work week. They were often working 10-12 hour days, six or seven days a week.

      There's a reason unions caught on so well, and a reason companies hired goons to fight them so fiercely.

      There's also a lot of programmers working 80 hours a week now. Too bad information workers have a genetic pre-disposition toward avoiding unionization.

    4. Re:The 40 hour work week is God given by kz45 · · Score: 4, Insightful

      "There's also a lot of programmers working 80 hours a week now. Too bad information workers have a genetic pre-disposition toward avoiding unionization."

      or a back-bone. Nobody is forcing you to work 80-120 hours a week. If enough developers refused, the practice would stop. The problem is that there is always a supply of developers that will work those insane hours.

      I personally detest the idea of Unions and I'm glad programmers have avoided them. In most unions, your potential raise is dependent on all the other union members in your department. You also don't negotiate raises, your union lawyers/reps do. No thank you.

      A union is almost like a small version of a communist country. Everyone is equal.

      All of my development jobs for the past 10 years have 40 hours with occasional work after hours. The one job I had that required more than 40 hours on a weekly basis, I quit.

      If you have the skills, you will always find someone that wants you. If not, then a union shouldn't be propping you up or forcing a company to pay you a salary any higher than what you deserve.

      The free market works both ways. It's not a businesses fault that most people don't have the balls to demand a raise or walk.

    5. Re:The 40 hour work week is God given by Prien715 · · Score: 2, Interesting

      Employees are now working at least 12 hours per day, six days a week, yet the letter claims they are being increasingly disregarded and dehumanized by management.
      Working conditions at RockStar

      Maybe we need unions again?

      --
      -- Political fascism requires a Fuhrer.
    6. Re:The 40 hour work week is God given by winomonkey · · Score: 1

      Eight hours a day, five days a week was good enough for illiterate industrial workers doing manual labor when it was invented 150 years ago. I see no reason it shouldn't be a perfect fit for highly educated software engineers in 2010!!

      Wait, you get to work with highly educated software engineers? Lucky ...

    7. Re:The 40 hour work week is God given by Anonymous Coward · · Score: 0

      The answer is 168. It just takes focus and a certain meth-odology.

    8. Re:The 40 hour work week is God given by Anonymous Coward · · Score: 0

      Until you work for a company that has "The Guy" that sweeps one hallway, twice a day. That's his job; he won't do more or less. He can't be fired because he's been there forever. Everyone looks the other way, and no one says anything. Let me tell you, it's annoying.

      Or, more recently, when doing network equipment rollouts. We can carry the equipment in, but not put them in racks; that's a union job. After that we can configure things. Do you have any idea how much time that consumes compared to a non-union shop?

      There are other reasons companies hire goons to fight unions. There are still cases where I think unions help the employees; but, more often than not, I believe the unions are hurting more than helping. And in a global economy... well, you can see how well the automotive companies fared. (Hint: They were losing $2,000 on every car sold; they just lost more if you didn't "Buy American." That's not a winning business model).

    9. Re:The 40 hour work week is God given by spiffmastercow · · Score: 1

      Not all unions are like that. The plumber's union, for instance, covers you if you're out of work too long, makes sure all members meet a minimum level of competency, and sets prices high enough that all members can make a decent living. More of a guild than a union, perhaps, but I think that's what we need.

    10. Re:The 40 hour work week is God given by TapeCutter · · Score: 1

      Skilled or semi-skilled office workers do not need a union, sure they are replaceable but not without short term pain for the employer, in other words they have individual bargining power regardless of wether they have the balls to use it or not.

      When your skills are "a strong back and a weak head" there is no reason for the employer to negotiate. Without unions having fought in the past for things such as a 40hr week, minimum wage, no child labour, safe working conditions, minimum rest breaks, etc, the un-skilled would be still working and dying in Victorian era sweatshops and coal mines.

      "I personally detest the idea of Unions and I'm glad programmers have avoided them. In most unions, your potential raise is dependent on all the other union members in your department. You also don't negotiate raises, your union lawyers/reps do."

      Since you've obviously never dug ditches for a living I can understand that the benifits of collective negotiation to the worker may be difficult for you to appreciate from the comfort of your office chair.

      --
      And did you exchange a walk on part in the war for a lead role in a cage? - Pink Floyd.
    11. Re:The 40 hour work week is God given by Anonymous Coward · · Score: 0

      "There's also a lot of programmers working 80 hours a week now. Too bad information workers have a genetic pre-disposition toward avoiding unionization."

      or a back-bone. Nobody is forcing you to work 80-120 hours a week. If enough developers refused, the practice would stop. The problem is that there is always a supply of developers that will work those insane hours.

      There's also a steady stream of open source volunteer developers selling their time at $0.00/hr. Given our propensity for being economic fools selling ourselves short (and giving credence to the line pointy haired accountants love "you don't do this job for the money, you do it for the passion" -- and they're oh so tempted to reply "so can we charge you to work for us then?") is it any wonder companies think they can get away with undervaluing development staff?

    12. Re:The 40 hour work week is God given by xero314 · · Score: 3, Interesting

      Having worked both union and non-union jobs I can tell you that your generalization of unions is incorrect. A Union is merely a collection of workers. Unions collectively bargain with employers. Yes it means that all members of the Union agree to certain standards, but it does not mean that they are necessarily without any control over their own employment. The Union can bargain for non-salary requirements such as insurance benefits, limits on overtime hours, and safe working environments. Unions can bargain to minimum salaries with out making a stipulation on higher pay negotiated by individuals.

      Every time you bargain with, or enter into any agreement, with an employer (accept in very rare circumstances), you are bargaining collectively. The problem is, that with out a union (be it formal or informal) you are not the one with the collective backing you up.

      Employers naturally collude to keep expenses low, and that includes salaries. Employees have no such natural collusion as it does not batter to us if our coworkers are underpaid. In many cases people would support their coworkers being underpaid if it meant them getting a slightly larger share because of it.

      Unions must exist for capitalism to remain viable. In the past 20 years we have seen the weakening of the power of the established unions, and it may just be a coincidence that this coincides with economic collapse, but I personally doubt the two are unrelated.

    13. Re:The 40 hour work week is God given by kz45 · · Score: 1

      "When your skills are "a strong back and a weak head" there is no reason for the employer to negotiate. Without unions having fought in the past for things such as a 40hr week, minimum wage, no child labour, safe working conditions, minimum rest breaks, etc, the un-skilled would be still working and dying in Victorian era sweatshops and coal mines. "

      I'm glad they fought for these things. The laws are in place, why do we still need them?

      "Since you've obviously never dug ditches for a living I can understand that the benifits of collective negotiation to the worker may be difficult for you to appreciate from the comfort of your office chair."

      you know nothing about me.

      The comfort of an office chair? I earned that comfort through years of minimum wage jobs, hundreds of hours developing software in my free time, and getting a degree.

      What I don't understand is why a job that pretty much anybody with two hands can do should be protected by a union.

      I have seen the results of the auto unions first-hand. Union members getting paid 4 and 5 times what they should be getting paid and putting a stanglehold on any company that doesn't bend to their wishes. Most Unions mean well in the beginning, but end up just as money-hungry and greedy as a corporation in the end. This doesn't seem to matter to you though..as long as it's protecting the little guy.

    14. Re:The 40 hour work week is God given by kz45 · · Score: 1

      "There's also a steady stream of open source volunteer developers selling their time at $0.00/hr. Given our propensity for being economic fools selling ourselves short (and giving credence to the line pointy haired accountants love "you don't do this job for the money, you do it for the passion" -- and they're oh so tempted to reply "so can we charge you to work for us then?") is it any wonder companies think they can get away with undervaluing development staff?"

      I have been saying this for a couple of years now. Eventually, open source developers will either devalue their own position or put themselves out of a job (and many other developers).

      It takes an engineer to create many of the open source applications that are out there now. It only takes a code monkey to make changes to those same applications. When business owners catch on to this, which is already starting to happen, many software developer positions will be taken by less-educated and less-experienced (and most importantly, paid less) developers because the difficult code that requires engineering is already out there for free.

      In this situation, I can imagine that the pro-union people will be screaming that developers need to be unionized.

    15. Re:The 40 hour work week is God given by Anonymous Coward · · Score: 0

      Insightful? More like idiotic. You sound like every deluded egoist I've ever known- you are so uber special and can negotiate better pay than the common herd. Guess what, you're wrong. Very few people are that special, and even when they are it rarely translates into better pay and working conditions.

      The concept of labor unions is sound-- collective bargaining gives workers negotiating clout that individuals don't have. The deck is very stacked against individual workers; you're up against your own employer or potential employer, their buddy-buddy agreements with other businesses to keep wages down and not poach talent, and the endless herds of other coders who will happily undercut you just to get a job. In real life, there are good unions and bad unions, and dismissing their value out of hand is ignorant.

    16. Re:The 40 hour work week is God given by Haljo+Gemel · · Score: 2, Insightful

      "There's also a lot of programmers working 80 hours a week now. Too bad information workers have a genetic pre-disposition toward avoiding unionization."

      or a back-bone. Nobody is forcing you to work 80-120 hours a week. If enough developers refused, the practice would stop. The problem is that there is always a supply of developers that will work those insane hours.

      I personally detest the idea of Unions and I'm glad programmers have avoided them. In most unions, your potential raise is dependent on all the other union members in your department. You also don't negotiate raises, your union lawyers/reps do. No thank you.

      A union is almost like a small version of a communist country. Everyone is equal.

      All of my development jobs for the past 10 years have 40 hours with occasional work after hours. The one job I had that required more than 40 hours on a weekly basis, I quit.

      If you have the skills, you will always find someone that wants you. If not, then a union shouldn't be propping you up or forcing a company to pay you a salary any higher than what you deserve.

      The free market works both ways. It's not a businesses fault that most people don't have the balls to demand a raise or walk.

      I'm a member or a union, I program for a living, and my union is nothing like your describing. They negotiate your minimum yearly pay rise, work out the overtime rates and rules, and bargain for your maternity/paternity leave, flexitime rules ect... and basically make sure my employer doesn’t shaft me. We are not all equal and its not a small communist country. When i want a pay rise I negotiate it with my manager. The union doesn’t force me to do anything. But then again I live in the real world not where ever you are.

    17. Re:The 40 hour work week is God given by TapeCutter · · Score: 1

      "I earned that comfort through years of minimum wage jobs, hundreds of hours developing software in my free time, and getting a degree."

      Ditto, but take my word for it when I say that's the easy way. I spent the first 15yrs of my 35yr working life doing it the hard way.

      "you know nothing about me....What I don't understand is why a job that pretty much anybody with two hands can do should be protected by a union."

      I know from reading your comments that you haven't walked a mile in the shoes of the working poor (maybe as a child, but that doesn't count). That is not a critisisim it's just an observation that goes a long way to explaining why you're so quick to dismiss unions, unions are something alien to you because you have never had the need for one and given your education you never will. Due to your life experience you can't see how they could possibly usefull in the society that you know about. But society is made up of many sub-cultures that neither of us know anything about, although 3yrs as a taxi driver while studying for my degree gave me a small windows into quite a few of them.

      One of the little things that struck me in my first office job after graduating as a mature age student was that people would say thank-you for something I was being paid to do. Compare that common office attitude to a factory I worked in that removed the toilet doors so the boss could check that you really were going for a dump and not slacking off.

      The union had the doors back up the same day, what do you think would have been the result of individually barganing for a toilet door with that arsehole if the union were not there to stop him from replacing you with another pair of hands?

      --
      And did you exchange a walk on part in the war for a lead role in a cage? - Pink Floyd.
    18. Re:The 40 hour work week is God given by markedmann · · Score: 1

      All of that may be true, but if you don't think that unions artificially prop up useless workers then you're out to lunch.

    19. Re:The 40 hour work week is God given by Anonymous Coward · · Score: 0

      When my first employer sold my division, it was the one union site we had that saved our penson plan. The rest of us didn't like that we were leaving all our pension money behind in the old company, but the union sued to stop the sale until they agreed to send our pension money over with us.

      There are things your company can do to you where just getting up and leaving is a very imperfect solution.

    20. Re:The 40 hour work week is God given by xero314 · · Score: 1

      All of that may be true, but if you don't think that unions artificially prop up useless workers then you're out to lunch.

      This is a myth perpetuated by corporations who want to keep their employees from unionizing. If you examine the myth you will see that it is not reasonable to even believe.

      Unions are a collective of workers. The protection a union provides is that the members of the union stand together to achieve better working conditions. Protecting an under productive coworker does nothing to improve working conditions. No worker wants their coworkers to receive equal compensation for less effort.

      If you want to get away with being lazy, then do not join a union, or be employed by a union shop. In unionized workplaces your coworkers know how hard you work and exactly what your compensation is, and they have the ultimate final say in your continued employment. Coworkers with this knowledge will not stand for someone benefiting from the efforts of someone else's labor.

    21. Re:The 40 hour work week is God given by mas5d2 · · Score: 1

      No one is forcing you to work those 80-120 hours a week, except yourself.

      I find that when you're working on a project you actually enjoy (and you're young with nothing better to do), you willingly go in on weekends and stay till 8 or 9 o'clock to fix that one last issue.

      It's just a balance. If you enjoy your work, spend the time. It's fun! If you don't like it, work 3 hours a day and fart around on the 'net looking for a job you like!

    22. Re:The 40 hour work week is God given by alexo · · Score: 1

      I personally detest the idea of Unions and I'm glad programmers have avoided them. In most unions, your potential raise is dependent on all the other union members in your department. You also don't negotiate raises, your union lawyers/reps do. No thank you.

      That is not the idea of unions, just the implementation that you happen to be familiar with.

      Sort of like saying that you detest the idea of democracy based on the examples of Berlusconi and the "Change you can believe in" fiasco.

  9. 168 hours by Anonymous Coward · · Score: 0

    168 hours

    1. Re:168 hours by Anonymous+Freak · · Score: 2, Funny

      Slackers.

      I generally code for 172 hours a week. (It helps if you constantly travel West at a slow rate. Yeah, every few weeks, you'll lose 23 hours, but that's your vacation time.)

      --
      Another non-functioning site was "uncertainty.microsoft.com."
      The purpose of that site was not known.
    2. Re:168 hours by McNihil · · Score: 1

      Amateur... I use relativity theory to extend that 172 hours and yeah in this System I still live with my parents and I am 12 years old.

    3. Re:168 hours by azgard · · Score: 1

      I think you could do even more because, from what I have heard, programming jobs slowly travel to the East.

  10. Enjoy your lazy job while it lasts. by d474 · · Score: 1, Flamebait

    "to keep my brain from overheating I spend several hours a week surfing the web (usually reading tech news but also a few stops on Facebook, email, etc). I should add that I am interrupted a few times per day."

    You said you usually work about 10-15 hours per week. So that means that on some weeks, you fuck off on the internet for 30 hours a week!?! Sorry you to hear you get "interrupted a few times per day" while Facebooking. You poor, poor thing.

    Oh, and by the way, I'm on my daily 10 minute break. Back to actual work for me. Have a nice 8 hour day doing.....whatever it is you do.

    --
    Authority questions you. Return the favor.
    1. Re:Enjoy your lazy job while it lasts. by Anonymous Coward · · Score: 0

      I'd rather work in his job than yours. One day, we'll all be working less for the same amount of productivity and be all the better for it.

    2. Re:Enjoy your lazy job while it lasts. by Anonymous Coward · · Score: 1, Insightful

      he said he was also doing other things that pertained to his job.

      "Me and another guy maintain an intranet site of a couple dozen web apps for an I.T. department, so we work on a few different things: phone calls, bug fixes, feature adds, as well as writing new web apps from the ground up, all in a days' work."

      so he's not fucking off on the internet.

      just because you're someone's ass monkey doesn't mean the rest of us have to be. it's called balance. and i'd say he's got a career ahead of him by being able to maintain equilibrium, too many people have attitudes like yours and burn out by the time they're 30.

    3. Re:Enjoy your lazy job while it lasts. by e2d2 · · Score: 5, Informative

      He means actual coding sir. He said not reading specifications, meetings, etc. You know, the majority of the actual work being done in software development? Simple fact is we do little coding when compared to the other aspects of the job. That's why I tell kids coming out of college with CS degrees - get ready to learn, again. Because if they think it's all coding they'll be sorely mistaken. I spend more time trying to work with customers learning the domain and getting what they need out of them then I do actual coding. Meetings are required but sometimes lengthy. Documentation takes little brain power but is also required. Deployments are not very exciting but again, required. QA processes can be tedious too. Etc. I do spend some days coding non-stop from 9am-6pm but that's not typical, that's a spectacular day when it comes around.

      That all being said, I do find myself working in a sprinting fashion as the posted does. I'll always be coding when it's time but sometimes you get a burst of speed and intelligence that you might not have every single day and you sprint ahead and make up for the times when you're not so sharp. This cycle goes on and on and it's hard for me to get around it. For instance, I had a burst of inspiration on Sunday and had more productivity in that off day then the entire week previous.

      I defy anyone to focus day in and day out for years and maintain absolute focus at maximum productivity. If you can do that then you're a better developer than me and perhaps a robot.

    4. Re:Enjoy your lazy job while it lasts. by phantomfive · · Score: 2, Insightful

      A lot of programmers do that, actually. Programming is hard, and it's easy to get distracted. This is why if you learn to focus you can easily accomplish more in 8 hours than the average programmer does in 10. If you ever talk to people who put in 12 hour days, you'll find they usually waste a good portion of those hours.

      --
      Qxe4
    5. Re:Enjoy your lazy job while it lasts. by flabordec · · Score: 2, Insightful

      I'd rather work in his job than yours

      Unless you actually enjoy your work. I would prefer working many hours in a project I enjoy because I really like coding.

      But I think both OP and GP are a bit extreme. Working 10 hour weeks yet be paid full 40 hour weeks sounds cheap, but just resting 10 minutes in a full 8 hours seems like too much work and no rest, which will burn you down pretty quickly.

      --
      "I see undead people" Warcraft III - Necromancer
    6. Re:Enjoy your lazy job while it lasts. by spintriae · · Score: 5, Funny

      Sorry you to hear you get "interrupted a few times per day" while Facebooking. You poor, poor thing.

      Have you any idea how difficult it is to harvest your crops in only 30 hours a week?

    7. Re:Enjoy your lazy job while it lasts. by e2d2 · · Score: 1

      Chad Fowler referred to that as the "8 hour burn". Meaning work your hardest for 8 hours and you will feel no compulsion to work extra hours and you'll be satisfied. But it takes absolute focus and self-discipline.

    8. Re:Enjoy your lazy job while it lasts. by Stargoat · · Score: 4, Insightful

      That 8 hour stuff isn't possible. How many 17:30 meetings have you been in, or 08:00 corporate town halls? If you work hard for your 40, you'll just be taken advantage of.

      --
      Hoist Number One and Number Six.
    9. Re:Enjoy your lazy job while it lasts. by Anonymous Coward · · Score: 0

      ya, and he said coding for maintaining an intranet. So I really doubt his coding is really hard.
      10hr/week that's 2hr/day, and he's worn out after that? What kind of developer is that really?

    10. Re:Enjoy your lazy job while it lasts. by Anonymous Coward · · Score: 0

      "to keep my brain from overheating I spend several hours a week surfing the web (usually reading tech news but also a few stops on Facebook, email, etc). I should add that I am interrupted a few times per day."

      You said you usually work about 10-15 hours per week. So that means that on some weeks, you fuck off on the internet for 30 hours a week!?! Sorry you to hear you get "interrupted a few times per day" while Facebooking. You poor, poor thing.

      Oh, and by the way, I'm on my daily 10 minute break. Back to actual work for me. Have a nice 8 hour day doing.....whatever it is you do.

      How did this guy get modded up as interesting? Sounds more trollish to me.

    11. Re:Enjoy your lazy job while it lasts. by JWSmythe · · Score: 2, Interesting

          As I like to tell people when they interrupt me, it takes about 15 minutes to get back into a task. Every time they interrupt me, that counter is reset. So when they come by every half hour to see how well I'm making progress, that means it's taking twice as long. Being that they keep doing it and I expect an interruption every 30 minutes, I stop at about 20 minutes (5 minutes of productivity) and prepare a report of what I've accomplished.

          So, in 8 hours, I may accomplish 1.5 hours of work.

          Some employers and staff understand this. I end up coming in at my own time (usually around noon), spend the first few hours taking input and answering questions about the progress, and then around 5 I dedicate myself to work until midnight. So 5 hours of chitchat and minimal on-task work, and 7 hours of serious uninterrupted work.

          So 7.5 hours vs 35 hours of accomplished work. Which is more advantageous to the company? Quite often I've accomplished a week long task in a single night.

          At one employer, they asked me to modify a partially completed application for a new client with new specifications. This was on Friday at 4pm, and was required by Monday morning. They were specific down to what font, size, and layout of the GUI. I said it would take a month or so. They didn't like my answer, so they got the lead developer from the project who talked in circles and finally said it would take a few months if he put his entire team on it. I came back with "I can start from scratch and have it done by Monday morning, but don't expect me to come in til after noon, and no one is allowed to call me all weekend. I'll initiate any necessary communication.". They said it was impossible for me to do that, it took the original team two years to get it to this point. I worked all weekend by myself at home, and at 6am Monday I sent them the finished product.

          1 sysadmin who does development for fun 1 weekend vs a team of developers for two years. Hrm. My code was only a few thousand lines. Theirs was a few hundred thousand lines. I considered taking some of their code to use in mine, but it was so chaotic and poorly written that I would have spent the whole weekend reviewing it and fixing it.

          The customer was happy, but the boss was pissed at me for some reason. And I was a salary employee, so they didn't even pay me anything extra. The sad part was, it also served almost all the functions of our primary product, which didn't always work right. There was lots of "but you didn't do it this way.", which I followed up with "but this is better, faster, more robust, and made the customer happier."

          They fired me a few months later for an arbitrary reason to get me out. Go figure. I think they gave me the impossible task to accomplish in a weekend so I would fail and they could fire me for it. I was given a few other "impossible" tasks, which I accomplished also, before they finally just got rid of me. Hmmm, I did more than the entire development group, by myself, with easy to understand and manipulate code, and they weren't happy.

      --
      Serious? Seriousness is well above my pay grade.
    12. Re:Enjoy your lazy job while it lasts. by Anonymous Coward · · Score: 0

      Maybe they fired you because you're a pompous asshole.

    13. Re:Enjoy your lazy job while it lasts. by DeadDecoy · · Score: 1

      Eh, internet/intranet coding can be non-trivial for different reasons than traditional coding. With the former, you're often expected to be part developer, part IT admin, part ui designer, and part graphics designer with a broad knowledge of many disparate technologie: css, ajax, spring/hibernate, cgi, html, javascript, actionscript, flash, java/c*, sql, json, etc. On their own, they're usually not too bad, but when you toss them together, it can be daunting keeping track of the logic behind your server side and client side code while maintaining compatibility between different browsers and localization requirements. Such coding can be as easy as "Hello World" or as difficult as your standalone desktop application. There's much more variation in coding websites than there were ~5-10 years ago, and I wouldn't assume his tasks are trivial simply because they involve the internet.

    14. Re:Enjoy your lazy job while it lasts. by e2d2 · · Score: 1, Interesting

      I've written intranet applications for the US government that had more business rules than I've seen in any other application. One was a rule making system for the FAA. More workflow rules than you can imagine. Those were not easy in any fashion so I'll reserve judgement on the poster.

    15. Re:Enjoy your lazy job while it lasts. by Bengie · · Score: 1

      Ouch, that sucks. I get two 10min breaks, a 20min walking break and a 30min lunch. Since none of it is really monitored, you try to set a pace/goals. I got an idea of how long something *should* take, if I take longer, then I might stay later at work, if I take shorter, I may browse the web for a bit to wind down. I really don't like leaving work until my current thought/idea is coded

    16. Re:Enjoy your lazy job while it lasts. by Anonymous Coward · · Score: 0

      ... If you can do that then you're a better developer than me and perhaps a robot.

      I'm a much better robot than you.

    17. Re:Enjoy your lazy job while it lasts. by oliderid · · Score: 1

      Well I'm working mainly as a project manager nowadays but I used to code a lot. So I know what is like. The only solution I found is to give "micro tasks". Basically any task I give should be accomplished within a day...So my job is mainly to divide jobs to suit that logic...And it works...Most of the time (it doesn't work well on Friday :-) ).

    18. Re:Enjoy your lazy job while it lasts. by gef7 · · Score: 1

      OSS advocacy and Apple don't mix. Stop selling your soul for shiny baubles.

      OSS advocacy and Mobile Phones don't mix. Stop writing software for it and making your phonecalls with it.

    19. Re:Enjoy your lazy job while it lasts. by phantomfive · · Score: 1

      If you're good enough to work 40 hours straight, and people are taking advantage of you, then you need to find a different job, one that doesn't suck. Don't put up with that kind of stuff.

      --
      Qxe4
    20. Re:Enjoy your lazy job while it lasts. by mjwalshe · · Score: 1

      well one project we spent serveral months doing the design and all the "coding" was done in 8/10 weeks with me another guy and one Oracle consultant. I even got an BT bonus award for that project

    21. Re:Enjoy your lazy job while it lasts. by phantomfive · · Score: 1

      As I like to tell people when they interrupt me, it takes about 15 minutes to get back into a task.

      Work on reducing this so it takes less time.

      They fired me a few months later for an arbitrary reason to get me out. Go figure.

      They did you a favor. I would have hated my life if I was working at that job and would have started looking for another long before they fired me.

      --
      Qxe4
    22. Re:Enjoy your lazy job while it lasts. by JWSmythe · · Score: 1

      If this is who I think it is, pot, meet kettle.

          I'm a pompous, productive, asshole.

      --
      Serious? Seriousness is well above my pay grade.
    23. Re:Enjoy your lazy job while it lasts. by phantomfive · · Score: 1

      The only solution I found is to give "micro tasks". Basically any task I give should be accomplished within a day

      That is the awesomest idea ever. It might work even better if you let them go early as soon as they finish.

      --
      Qxe4
    24. Re:Enjoy your lazy job while it lasts. by Skal+Tura · · Score: 2, Insightful

      Indeed it will burn you down.

      I just did a 3month stint of constantly long days, not "insane" like 90hrs a week, but sprinting upto 60hrs a week, a minimum of 43hrs a week. I was lucky to have single 10minute break apart from smoke breaks, which aren't really breaks as your brain is still churning at almost 100% speed. Before that 3month i had 1 week of for christmas by knowing that i have to work 12hr days after i get back, and had been working a huge sprint for 3months.

      best of it at all was i was promised a raise, but basicly told to f* off. I walked and they are in so deep shit now, their clients keep calling me as they can't get shit done. they are already about 4 weeks late of a simple transfer over of VMs task alone.

      Also they had to hire atleast 2 full time guys and put some of my work to 3 others. And all of that because they refused to pay even industry average ... Now instead of paying me the well deserved 30% more (yes i was THAT underpaid), they have to actually pay atleast 130% more, maybe more like 250% more. But hey, all's good, they bill by the hour afterall, so when the no-clue goons are working they actually get more as they spend more time. That's competitive business, riiiiight? ;P

    25. Re:Enjoy your lazy job while it lasts. by JWSmythe · · Score: 1

          But it was a wonderful place to work. "Officially" everyone loved their jobs. Unofficially, like on break or after work, everyone would tell me how they're job hunting, and how much they hated it. It wasn't just "I hate this job", they'd give me their personal laundry list of gripes. I was the unofficial social counselor that everyone could talk to. There were a few good people, and a lot of less than pleasurable people to work with. The higher up in the chain of command you went, the worse it got. Well, until the top, then it was good again. Go figure. Senior people wouldn't tell me anything like that, but they'd disappear to a new job suddenly. "I got a new job, see ya." was always answered with congratulations by everyone. :)

          Getting rid of me wasn't targeted at me. I was #5 or #6 on a nice long list. They were working their way through the ranks, trimming out people they didn't like, regardless of how hard they worked, how well they performed, or even how they interacted with other staff. I wasn't last on the list either. Quite a few people were invited to not have jobs after that. Most of the circumstances were not very nice. For example, one guy was told "take a one month severance pay and quit, or we'll fire you.". He quit, and was allowed to collect unemployment. Another guy was given exactly the same deal, and quit. His unemployment was refused because he was fired with justification. Their justification? Nothing significant. One guy was just straight out fired because a project he wasn't involved with had a customer impacting problem. The customer was told who they fired and why. Like firing someone makes good with the customer, right? That wasn't a one-off event either.

          I used the "I fired him over it" like a few times when I was in charge of a shop. I didn't actually fire anyone. If someone screwed up, I told them what they did and how to correct it. Continued failure was grounds for termination. It's not good for morale to arbitrarily fire someone to make customers happy.

      --
      Serious? Seriousness is well above my pay grade.
    26. Re:Enjoy your lazy job while it lasts. by petit_robert · · Score: 2, Insightful

      >They fired me a few months later for an arbitrary reason to get me out. Go figure.

      That's easy : think of the manager who sold those thousands of hours of work (though pollution would be a more appropriate description, but I digress) to the customer.

      Now, someone like you comes in, shows his utter uselessness as leader, and threatens to destroy the only motive for his existence, which is a biiiiig team of developper with a huge billing rate. All he wants now is to get rid of you.

      One way out of this is for you to work freelance, if you can. Just remember to multiply your coding time by at least three, so your bills won't be ridiculously low, plus you'll need the time for the paperwork anyway.

    27. Re:Enjoy your lazy job while it lasts. by JWSmythe · · Score: 1

          That's easy enough for them to fix. Sit on the work until the billable hours have racked up high enough. Take advantage of it for additional testing.

          Oh, and never try to give me an impossible job. If I accept it, it'll be done right and on schedule.

          I typically quote 3x to 4x the expected time, take my time and have it done in my expected time (1/4 to 1/3 the quote), test until I'm positive it's good, and then hand it over early. I get paid for my time, and everyone's happy. Too bad I can't find more gigs to do. I loved doing weird 1-2 week jobs. Even the overnight "My server is broken" call, where I show up to a datacenter at 8pm, and don't leave til 2am. Customers love getting the email at 2am saying "The job is done. Send $600 to ....."

         

      --
      Serious? Seriousness is well above my pay grade.
    28. Re:Enjoy your lazy job while it lasts. by Anonymous Coward · · Score: 0

      Not sure where that commenter was posting from, but in the US, employers are required by federal law to allow workers two 15-min breaks and one 30-min lunch per 8 hours worked. If you are in the states and your employer only gives you 10 minutes a day for break, you need to report them to the US Department of Labor.

    29. Re:Enjoy your lazy job while it lasts. by Anonymous Coward · · Score: 0

      8 hours is perfectly doable after 5 PM. I've had a couple 36-hour work days here and there during crunch time.

    30. Re:Enjoy your lazy job while it lasts. by networkBoy · · Score: 1

      As I like to tell people when they interrupt me, it takes about 15 minutes to get back into a task.

      Work on reducing this so it takes less time.

      It may not be possible to reduce this number much further. Frankly it can take me anywhere from 10 to 40 min to get back into the zone when I get yanked out abruptly. There have been times I've been in the middle of combo debug existing code/adding new code* and basically had to revert the last hour's worth of stuff because I was interrupted and lost my train of thought badly enough to have to start over.
      If I'm on a deadline and in the zone, I've learned to be an asshole. The only response I'll give is either a finger pointing up (index not middle), meaning wait a sec I'll be with you eventually, or a hand shoeing you away. The latter got me a meeting with management when someone was offended but upon explaining the loss of concentration causes a severe lag of resumption of work (and some wiki et. al. backing this up) there was no repercussions.
      -nB

      * yes, a bad idea, but that's the breaks when it is test code for a new hardware platform, fix the old code to work on the new platform, while also accommodating new [widget].

      --
      whois gawk date unzip strip find touch finger mount join nice man top fsck grep eject more yes exit umount sleep dump
  11. You're Not Like Me Nor Are You Stealing by eldavojohn · · Score: 5, Insightful

    Look, you aren't stealing. You aren't stealing until you're fired and you keep coming to work and forcibly removing money from your employer without their consent. That doesn't happen very often. Whoever says you're stealing by investing your time as you see fit is full of bullshit. You control your productivity and if your employer don't like it, they'll get someone else. It's that simple.

    Now that said, I have no problem doing forty hours of sheer coding in a week. Meetings take up a lot of time but in one of my former positions as a lead developer, I did serious coding to make us look really really good. It involved 50-60 hours a week of being there and 30-40 was actually coding to make sprint deadlines. I mean code overnight into the next day with no sleep. And no interruptions! My god, you would not believe the lines of code (note: bad metric) I can put away with no interruptions. That's what headphones are for. Amen to the large DJ sized headphones I have at work. It's a polite do-not-disturb sign to my coworkers.

    Coding involves also searching online so you don't re-invent the wheel. Aside from that, your list is good. And yeah, meetings are important for coding. How else do I get my requirements other than directly meeting the customer? That's part of coding unless you're leaving that up to some other guy to get (which is a horrible idea in my opinion).

    Anyway, sounds like you're getting the job done and you're not pulling your hair out like I once was. So what's the problem? You may not realize it but you may produce forty hours of normal developer work in those ten hours. I don't know, maybe your code is less buggy than mine? Either way if the paychecks keep rolling in and your employer isn't hold an axe over your head, what's the problem?

    --
    My work here is dung.
    1. Re:You're Not Like Me Nor Are You Stealing by mikael_j · · Score: 1

      That's what headphones are for. Amen to the large DJ sized headphones I have at work. It's a polite do-not-disturb sign to my coworkers.

      Oh, to work somewhere where management hasn't decided that since customer services can't wear headphones then no one can wear headphones (yes, headphones is banned throughout the workplace including the cafeteria).

      --
      Greylisting is to SMTP as NAT is to IPv4
    2. Re:You're Not Like Me Nor Are You Stealing by mikael_j · · Score: 0

      ...headphones are banned..."

      --
      Greylisting is to SMTP as NAT is to IPv4
    3. Re:You're Not Like Me Nor Are You Stealing by Sir_Lewk · · Score: 1

      Customer services doesn't have headphones? Here they have those telephone headset things. In any event what a silly rule.

      --
      "linux is just DOS with a UNIX like syntax" -- Galactic Dominator (944134)
    4. Re:You're Not Like Me Nor Are You Stealing by Anonymous Coward · · Score: 0

      Jesus Christ, where do you work? Programming with headphones is pretty normal and productive to blur out distractions.

    5. Re:You're Not Like Me Nor Are You Stealing by Anonymous Coward · · Score: 1, Interesting

      It's interesting how you mention reducing distractions / interruptions with headphones, etc. Here where I work they have moved most people (not me so far fortunately) out of offices and into cubicles. The claim is always that it fosters collaboration and teamwork (while of course the reality is it reduces real estate costs). Interestingly they just started a new deal where they gave people "do not disturb" signs to hang on their cubicle walls. Apparently there was too much collaboration and teamwork going on and people couldn't do any actual work. I did have to go from 1 person in an office to 2 people in that same office but at least we have a door for the "do not disturb".

    6. Re:You're Not Like Me Nor Are You Stealing by Amouth · · Score: 1

      they would have to fire me then - i'm in a office in the back - i have the comfort of having 2 full racks in my office - i stop and always answer my phone (have the ring piped into the head phones)..

      if i had to sit all day and listen to that noise on top of only getting ~5-15min of face to face interaction a day (spend a lot of time on the phone but I've had days where i came in worked and left and never actually spoke in person to someone else). Then i would just keep wearing them and they would have to fire me or move me to someplace else.

      --
      '...if only "Jumping to a Conclusion" was an event in the Olympics.'
    7. Re:You're Not Like Me Nor Are You Stealing by tnk1 · · Score: 1

      That's right. You aren't stealing anything. It is your responsibility to execute the tasks that you have been given by the deadlines given and to the level of quality expected. If you can do that in 10 out of the 40 hours a week, that's great. It's not your job for you to find something else for you to do to fill up that time, that is what management does. They have the right to ask you if you have extra cycles, and your duty is to tell them if you are free to do work. The only way that you might be stealing is if you lie about your availability to execute tasks, and that tends to backfire when someone in your group works more than you do and you look like a loser in comparison.

      Trust me, management is not incompetent about the aspect of squeezing more work out of you. Give them time, and they will eventually downsize your group to the point where you end up working to your capacity and beyond. Over-hiring does happen, but it is one of the things that does eventually get rectified inevitably unless things like unions get in the way. Enjoy your long coffee breaks and web surfing.

    8. Re:You're Not Like Me Nor Are You Stealing by mikael_j · · Score: 1

      Well obviously they have their phone headsets, they're just not allowed to have other headsets for listening to music when there are no calls.

      --
      Greylisting is to SMTP as NAT is to IPv4
    9. Re:You're Not Like Me Nor Are You Stealing by Nadaka · · Score: 4, Funny

      haha. Where I work the customer service phone monkeys in the cube farm next to me use the speakerphone. THE GOD DAMN SPEAKERPHONE.

    10. Re:You're Not Like Me Nor Are You Stealing by rolfwind · · Score: 2, Interesting

      Look, you aren't stealing. You aren't stealing until you're fired and you keep coming to work and forcibly removing money from your employer without their consent. That doesn't happen very often. Whoever says you're stealing by investing your time as you see fit is full of bullshit. You control your productivity and if your employer don't like it, they'll get someone else. It's that simple.

      This logic is not sound. I remember reading a WW2 manual that warned the officer that if he goes into an area, and he sees men suddenly very busy at his approach, it probably means that they were slacking off while he was gone.

      I know many people like that. Since employee/employer is a type of contract, what the employees do is a form of fraud by deliberate misrepresentation/deception. That's why companies pain themselves to come up with some type of productivity metric to measure these things, and in the long term, yes, the company knows whether you are worth it or not.

      But going by other businesses, where an employee can bullshit/dupe an employer for a good while because the boss doesn't hang around their shoulder.

      To make it easier, just extend that to subcontractor (let's say construction), and tell me they can't steal from the employer. The overall lesson you were putting across stays the same (Caveat Emptor) but leaving the employee without any morale responsibility is the wrong mindset.

      (Now, I don't care if someone surfs for a while, you have to accomodate for human nature, but there are various degrees to everything.)

    11. Re:You're Not Like Me Nor Are You Stealing by wonkavader · · Score: 1

      Or "headphone is banned"?

    12. Re:You're Not Like Me Nor Are You Stealing by dkf · · Score: 2, Funny

      Where I work the customer service phone monkeys in the cube farm next to me use the speakerphone. THE GOD DAMN SPEAKERPHONE.

      That's inhuman. Strike back! Learn to yodel. Practice at your desk.

      --
      "Little does he know, but there is no 'I' in 'Idiot'!"
    13. Re:You're Not Like Me Nor Are You Stealing by johncadengo · · Score: 3, Insightful

      Have you ever asked them not to?

      --
      My page.
    14. Re:You're Not Like Me Nor Are You Stealing by flanders123 · · Score: 3, Funny

      You get cubes? Lucky.

      I work in a "Trendy Open European-Style Office". Only one problem: My office is in America, land of the "I can yell like a dooshbag on my fucking bluetooth headset cuz its free country!"

      Sigh...My kingdom for a cube.

    15. Re:You're Not Like Me Nor Are You Stealing by CrashandDie · · Score: 1

      Heh. Last year I was working in London, in a small top-floor office just across the road from Waterloo. Absolutely excellent team, thoroughly enjoyed my time there. On average, there were maybe 2-4 people in on a daily basis, even though the UK team was mode up of roughly 20 people.

      I was part of a division that meant my immediate boss was in Holland, and his boss in Sweden. What it meant that I had nearly no supervision, and was free to manage my hours as I saw fit. I would come in between 9 and 11 on slow days, and leave around 1-2 AM. When things got tough, I would come in around 4AM, but leave around the same time. I even got a room at the local hotel a few times (because I missed the trains), or slept in one of the comfy architects' chairs.

      Thing is, the office, all "Open Plan", had hardwood on the whole floor. Everytime one of the girls would come in, anyone on the phone could sonar-position them just by the resonating sound of their heels. Same for some sales people, who enjoy a nice leather sole/wooden heel on their 300 GBP pairs of shoes (I shouldn't slam them, I have 'em too).

      My team used to use Skype for cheap communication (team being spread all over Europe and all), but Dell's microphones are utter crap. They will record anything that happened within a 40m radius, and then some. What you end up with, is a conversation with a guy who speaks in a very low voice, covered by the printer, the paper shredder, the scanner, the clicking-resonating heels, the door slamming shut (and first squeeking nicely), and the bariton-voiced German father-christmas-laughing his way through your customer conf call.

      There's a reason I loved working between 6PM and 2AM. The utter quietness just allowed me to get in "the zone", and get some work done. Headphones didn't work either, as sales people, answering phones, and the simple fact that a stray look will take your attention in an open-plan hotdesking situation will do.

      Where am I know? I burnt out, and am now taking the easy route and going to recover with the family in the south of France. Working like an idiot never pays off.

    16. Re:You're Not Like Me Nor Are You Stealing by DigiShaman · · Score: 1

      You control your productivity and if your employer don't like it, they'll get someone else.

      And they will have no problem succeeding in this market. Hell, they might even dismiss you from the company so they can hire two of you for the price of one. Unless you're an exceptional employee with extraordinary talent, now is the time to be BUSTING YOUR ASS OFF!!! That's right. Now more than ever, employees around the world must constantly prove their value to remain employed.

      --
      Life is not for the lazy.
    17. Re:You're Not Like Me Nor Are You Stealing by Sir_Lewk · · Score: 1

      Have you? Trust me, this is not a road you decide to go down lightly...

      --
      "linux is just DOS with a UNIX like syntax" -- Galactic Dominator (944134)
    18. Re:You're Not Like Me Nor Are You Stealing by Eclipse-now · · Score: 1

      I'd love to know what salaries coders get? I'm considering a career move, and am just thinking of doing a few TAFE certificates to get in the ground level on a help desk somewhere... but a few years of night school down the track, who knows?

    19. Re:You're Not Like Me Nor Are You Stealing by Anonymous Coward · · Score: 0

      http://lostgarden.com/labels/best%20practices.html

      Hours worked != lines written != work done

    20. Re:You're Not Like Me Nor Are You Stealing by okmijnuhb · · Score: 1

      Trendy Open European-Style Office? Oh, we used to dream of working in a Trendy Open European-Style Office! Would have been a palace to us. We used to work in an old water tank on a rubbish tip. We got breakfast every morning by having a load of rotting fish dumped all over us! Office? Huh.

    21. Re:You're Not Like Me Nor Are You Stealing by symbolic · · Score: 1

      I hear your pain.

    22. Re:You're Not Like Me Nor Are You Stealing by Anonymous Coward · · Score: 0

      GOOD morning corporate accounts payable...ONE moment...
      GOOD morning corporate accounts payable...ONE moment...
      GOOD morning corporate accounts payable...ONE moment...

    23. Re:You're Not Like Me Nor Are You Stealing by ciderVisor · · Score: 1

      How else do I get my requirements other than directly meeting the customer? That's part of coding unless you're leaving that up to some other guy to get (which is a horrible idea in my opinion).

      Well-well look. I already told you: I deal with the god damn customers so the engineers don't have to. I have people skills; I am good at dealing with people. Can't you understand that? What the hell is wrong with you people?

      --
      Squirrel!
    24. Re:You're Not Like Me Nor Are You Stealing by Anonymous Coward · · Score: 0

      I love listening to music while I program. Around my desk there are a bunch of others, with lots of talk going on at most times. The music puts a wall between me and distractions, and my favourite music (Trance, Skillet, Massivivid, etc.) energizes me and helps get me into 'the zone' for programming / creativity. I haven't invested in noise-cancelling headphones yet, though :)

    25. Re:You're Not Like Me Nor Are You Stealing by TheSpoom · · Score: 1

      Corporate accounts payable, Nina speaking, just a moment...

      Corporate accounts payable, Nina speaking, just a moment...

      Corporate accounts payable, Nina speaking, just a moment...

      --
      It's better to vote for what you want and not get it than to vote for what you don't want and get it.
      - E. Debs
    26. Re:You're Not Like Me Nor Are You Stealing by Anonymous Coward · · Score: 0

      I recently finished a one year "sprint", and I feel like I need a one year vacation in a place that doesn't even have electricity. I have limited myself to 40 hour weeks for the last few months, about 32 hours of developing, and survived, but I don't recommend it. Of course the project was never out of my thoughts, even when sleeping.

      My creativity and deep problem solving skills have declined alarmingly. I just took two weeks off, and I am beginning to understand what I did to myself. I have known for a long time that I am not comfortable programming for more than six hours a day five days a week for long, and that I need some down time to be creative, but I got carried away by the chance to take complete control of a major project.

    27. Re:You're Not Like Me Nor Are You Stealing by chameleon3 · · Score: 1

      Water tank? Luxury! I used to have to code in the dumpster on a keyboard with no 'M' and a 5" monitor, all the while garbage was being thrown all over me and 'Barbie Girl' blasted through the loudspeaker.

  12. Programming all day... by Anonymous Coward · · Score: 1, Insightful

    I can program all day without being tired (8-9 hours with a lunch break(usually involves me eating at my desk getting work done @ same time)), because I like the projects that are given to me, but give me day long flowcharts to do and my brain is mush after wards. You have to like what you are doing or it's going to suck

  13. Depends on what you're coding by mikael_j · · Score: 4, Interesting

    To this day I sometimes catch myself working on some interesting problem at home and putting in 30+ hours over three days when I've got some time off from work, because the problem is interesting and there's no one around to make it uninteresting by coming up with changes halfway through, demanding arbitrary things that have no place in the app and similar stupidity.

    But when I'm at work building some glorified CRUDified spreadsheet in WEB_LANGUAGE_OF_CHOICE and I can't get two hours of coding in before the specs change or some PHB from another department feels like pointing out that the blue background color is a bit too blue for his tastes or whatever, well I sometimes end up taking a lot of little breaks just to clear my head enough to be able to function at all.

    --
    Greylisting is to SMTP as NAT is to IPv4
    1. Re:Depends on what you're coding by pooh666 · · Score: 1

      You mean you only have on task at a time? Sounds like heaven. I have at least a half dozen projects going at once and all are hanging up another dozen.

    2. Re:Depends on what you're coding by Skal+Tura · · Score: 1

      So true. If you get constantly bugged with little things, it's hard to get efficiently anything done, and you are in PAIN. Need those moments of clarity, times to concentrate on single task. If actual workplace would just be such beautifull that people put in their requests at prescheduled time of day.

    3. Re:Depends on what you're coding by pooh666 · · Score: 1

      Oh that is so true. But the fact is most people can't get used to the idea of segmenting their day enough to give some others peace for a few hours.

    4. Re:Depends on what you're coding by Anonymous Coward · · Score: 0

      To this day I sometimes catch myself working on some interesting problem at home and putting in 30+ hours over three days when I've got some time off from work, because the problem is interesting and there's no one around to make it uninteresting by coming up with changes halfway through, demanding arbitrary things that have no place in the app and similar stupidity.

      The difference between us and the lawyers is they label it pro bono and get the company to pay their time volunteering. It's time we pushed for the same. There is no reason why computing should be any lower-valued than other thinking professions.

  14. Much like sleep for me by Orga · · Score: 3, Insightful

    If quiet, uninterrupted and sleeping peacefully (coding something interesting/challenging) I could go easily for 8 hours or more. However if you interrupt me, and this could be a meeting, lunch or even a visit form a coworker it can knock me out of my coding (wake me up) and it's usually going to take me some period of time to get back into the flow of it all. The longer the interruption usually the longer it takes for me to get back into it. Caffeine and other Nootropics can contribute to to length and motivation to get back to work.

  15. Depends by jason777 · · Score: 1

    If i'm working on bug fixes or boring stuff, I'm not very inclined to get engrossed. If i'm designing a new module or solving a complex problem, then I get really into it to the point where I can zone everything else out. I think about it most hours after work and even before I go to sleep, and get right back into it when i'm back at work. I'm sort of obsessed with it until its done.
    There isnt really a time limit to it. If it takes 40 hours to build, then i'll stay with it until its done. Its only when I'm pulled off, or distracted in some way where I break my concentation. Once I stop, I find it very hard to resume what I was doing.

  16. yeah by Anonymous Coward · · Score: 1, Interesting

    I am going on 10 years of development, mostly web related stuff. If it is "same shit different day" type of work 20 hours is a good estimate of actual work I get done in a week. However, If I get to work on new and interesting stuff, I can go 50 -60 hours a week easy, but those are rare.

  17. Less and less by Anonymous Coward · · Score: 0

    I have found that the amount of time I actually spend coding has been less and less as I have become a more and more senior developer. I used to spend most of my day coding when I first entered the industry (mixed with glancing at web & book references to make sure I was using the correct syntax, or to track down the method/class/exception I wanted to reference).
    Now I find I spend more time in architectural/database design meetings, consulting other junior developers, planning meetings for other teams to help advice on technical dependencies, documenting design decisions, reviewing code, interviewing, etc..

  18. Age by ucblockhead · · Score: 5, Interesting

    When I was 20, I would program 8-10 hours a day, then go home and code for 4-6 hours into the night.

    Now I get distracted before an hour's coding is up. That's why I moved into management.

    --
    The cake is a pie
    1. Re:Age by okmijnuhb · · Score: 2, Funny

      You were lucky. I worked for three months in a paper bag in a septic tank. I used to have to get to work at six in the morning, clean the paper bag, eat a crust of stale bread, work fourteen hours a day, week-in week-out, for sixpence a week, and when I missed deadlines my boss would thrash me his belt.

    2. Re:Age by Moe1975 · · Score: 1

      Well, how old are you now? I have read similar to what you have posted, and am wondering what the usual age when people move away from programming is. Cheers, Moe

      --
      SARAVA!
  19. What by moogied · · Score: 0, Flamebait

    40 hours a week.
    What the hell kind of idiot is posting this? When at work you should be working. If you mean actually sitting there and pushing buttons to create code that then is compiled and will remain as part of the code? 15 hours. If you mean all the required steps to create an actually half useful piece of code? FORTY HOURS A FRIGEN WEEK.

    --
    So basically, -1 troll/offtopic is really slashdots way of saying "I hate that you thought of something before me."
    1. Re:What by thebagel · · Score: 1
      If you had bothered to actually read the question, you'd know that he was talking about "actually sitting there and pushing buttons to create code that then is compiled":

      I'm talking about your programming session at the console, typing

      Read the question before you call someone an idiot.

    2. Re:What by Abcd1234 · · Score: 1

      What the hell kind of idiot is posting this? When at work you should be working. If you mean actually sitting there and pushing buttons to create code that then is compiled and will remain as part of the code? 15 hours. If you mean all the required steps to create an actually half useful piece of code? FORTY HOURS A FRIGEN WEEK.

      Don't be absurd. Even burger flippers at McDonald's get paid breaks. Expecting software developers to work at peak capacity 40 hours a week while still producing high quality code, documentation, etc, is ridiculous.

  20. i can code htlm all wekk by gyrogeerloose · · Score: 4, Funny

    /p>yessir, i have no problem wiht a 40 hour weel of html coding and i >i>never,/i. maek a mistake.,

    --
    This ain't rocket surgery.
    1. Re:i can code htlm all wekk by Anonymous Coward · · Score: 0

      It might not take all week if you didn't have to keep going back and fixing all those typos :-)

    2. Re:i can code htlm all wekk by laserfeet · · Score: 1

      This is why we can't have nice things

  21. age matters by tlord · · Score: 5, Insightful

    I think it changes with age. When I was quite young, 10 hour a day for days on end wasn't so hard to pull off. Remembering to sleep and shower and brush my teeth were harder. The catch was that a very high percentage of the code I'd write was either pure crap, or could have been done better in less time by writing another program to write that code. As I've gotten older, I've found that it's easier to spend a large number of hours *contemplating* code -- but hard to work other than in smaller bursts actually writing the code. The difference is that when I do write code, the hours are far less wasted.

    I've taken this into account and so now my plan is, that when I reach 90, I'll just wake up in the morning and fart. My heavily customized Emacs will analyze the fart and translate it into C. "Oh, boy, I wrote another new OS kernel this morning!"

    Well, ok, one of the two above paragraphs is true and not the other.

    1. Re:age matters by fdrebin · · Score: 2, Insightful
      Yes, thinking matters big time. Other elderly colleagues of mine can generally code circles around the young whippersnappers, as we've been there, made the mistakes, and know not to make most of them. (Sadly we do repeat them sometimes). Too bad so many young'uns already know everything and don't want to learn from others, and prefer to learn by making the same mistakes others have made a zillion times before.

      /F

      --
      Stupidity... has a habit of getting its way.
    2. Re:age matters by fdrebin · · Score: 1
      Mistakes, as in hitting 'Submit' before you're finished...

      The other point worth making is code quality. My code tends to have less than 10% the average error rate (big company, we track such things). Again, it's all that experience.

      Enough yapping, back to slaving (and loving it).

      --
      Stupidity... has a habit of getting its way.
    3. Re:age matters by Anonymous Coward · · Score: 0

      "Too bad so many young'uns already know everything and don't want to learn from others..."

      They might be willing to learn if you stopped referring to them as "young'uns" and started referring to them as your peers. Agism builds walls, it doesn't facilitate learning.

    4. Re:age matters by Anonymous Coward · · Score: 0

      were I work the elderly colleagues are communist syndicalist programming in a French Language called IDEAL on an old IBM mainframe.
      they measure data in linear feet and have something they have the productivity of Wally from dilbert so why would I what to learn from them ?

    5. Re:age matters by achurch · · Score: 1

      On the flip side, learning from experience (if done properly) provides one with insights as to why a particular method doesn't work, and those insights are often useful in far broader contexts than the particular cases in which they were learned. It's like understanding the concepts of arithmetic as opposed to memorizing multiplication tables: knowing the tables by heart will speed up those specific tasks significantly, but won't handle anything that falls outside their domain. And of course, if you take the learn-from-others method to extremes, you end up with people writing code like:

      counter++; // increment counter

      because "I was told code should be commented".

      (It's also a sad truth that too many of the elderly generation fail to continue learning themselves, and insist that data should be global, identifiers should be inscrutable abbreviations, or whatnot because "that's the way I did it, goshdarnit, so that's the way you'll do it! And get off my lawn!" Which of course leads the younger programmers to not use global data or short identifiers even when they would be useful, because they wouldn't be caught dead coding like an old fart.)

    6. Re:age matters by epiphani · · Score: 1

      So what you're saying is "get off my lawn".

      I'm 28, and while I probably fall into the category of "young whippersnapper", I'm already past my prime. My focus, my concentration, my alertness and generally my ability to think fast has gone down from 4-5 years ago. I'd like to believe that experience offsets this, but how much I'm honestly not sure.

      Basically, I realize my mind isn't as sharp as it once was. I'm trying to make up for that. You seem to think that with age comes efficiency. With age comes experience and wisdom, nothing more.

      --
      .
    7. Re:age matters by Skal+Tura · · Score: 1

      That means you are probably becoming better coder, not faster, but better quality of produced code.

      You should try to get the speed up as well, just for the fun. Try to figure out structures and design paradigms for a specific job in the shortest amount of time, just jumping into it, and basing choices on few simple rulesets. Works really well for me.

      Of course such jumping in is not for whole systems, but portions of systems (ie. max 2 days of work).

      Code quality also directly translates into speed of maintenance. Maintainability will increase, bugs will be less and easier to debug.

    8. Re:age matters by bitMonster · · Score: 1

      ++counter; // pre-increment counter

      FTFY.

    9. Re:age matters by Anonymous Coward · · Score: 0

      Actually with age comes easier recognition of complex patterns and comprehension of the big picture.

  22. Spend three times as much time testing and using! by Anonymous Coward · · Score: 0

    I swear, programmers rarely actually use the software they program. If they did, then there wouldn't be all these horrible double-negative "Are you sure you don't want to upgrade your document format?" and the proliferation of poorly thought out interfaces.

    Design things for elegance and simplicity - if you don't know how, get someone else to look at it for you and to tell you not to nest an important, frequently used function within 3 submenus and two windows or via an obscure, undocumented command line switch.
    g=

  23. It Takes The Right Combination of Events by bossvader · · Score: 3, Interesting

    In the right environment on the right projects with the right team....I could easily design, develop, and test for 40+ hours a week and feel energized. Unfortunately that right environment, project and team is very rare.

  24. one *million* hours!!!! by Anonymous Coward · · Score: 0

    -- Dr. Evil

    1. Re:one *million* hours!!!! by Anonymous Coward · · Score: 0

      OVER 9000!

  25. Your brain is not magical... by iampiti · · Score: 1

    ...it gets tired after a continuous effort. I personally find that I can only concentrate on one task for about 30 minutes. Then I have to rest for a while doing simpler tasks like reading slashdot :).
    One thing I've found now that I'm involved in two projects is that when I have to deal with both on the same day my brain gets significantly more tired...so context switching IT IS expensive :).
    Now I try to do things belonging to one project one day, to the other the next day and so on.

  26. or: how many hours you actually get to program by greywire · · Score: 2, Interesting

    I think bigger question is how many hours a week are you actually able to program when you consider all interruptions. I rarely am able to program for more hours than my brain is capable of.

    When you have managers wanting meetings three times a week (granted, they are short usually), you expect to get a least a few inquiries a day about the code from someone who's not understanding what you are doing, and you work from home and/or you just get called frequently by the Significant Other... all these interruptions break up your day resulting actual concentrated programming being hard to do for any length of time.

    I find I probably only spend 10 - 16 hours a week doing solid coding. Another 10 - 16 is spent just thinking about higher level things like architecture or scaling issues or whatever, and depending on the week 4 - 8 hours "alternately stimulating" my brain with related (slashdot) but not directly applicable stuff. The rest is taken up by the aforementioned interruptions.

    But I'm not a "grunt programmer" either.

    --
    -- Senior Software Engineer, Attorney appearance services, locallawyerapp.com.
    1. Re:or: how many hours you actually get to program by Dun+Malg · · Score: 1

      I think bigger question is how many hours a week are you actually able to program when you consider all interruptions

      "I can't get the job estimate Excel sheet to work"

      "How do we install the IR telemetry data transfer software on this Dell Axim PDA?"

      "Do you have a Sargent LC 7-pin key blank?"

      "Do you have a longer mini USB cable than this 2 inch one I found god knows where?"

      "When Ernesto comes by, you should tell him *I* was the one who wrote that combination data interpolator program that saves hours of copy-paste work in Excel, that you sweat blood into while coding, because I for some reason think giving the credit to a computer illiterate like me is something you might think was a fun trick to play on someone who would likely think it's true."

      "My home computer is slow. Do you know how to fix that?"

      "I can't find my key. Can you open the storeroom for me?"

      "Show these idiots from IT (who control static IP address assignments) the web interface for the new access control system and somehow convince them that there isn't going to be an NSA spy in the parking lot sniffing the password to the admin console you log into maybe 4 times a year so they don't make us VPN it to one computer in the back room under lock and key."


      I get about 15 minutes of coding in. I wish the above was made up, but it's actually a rundown of what I dealt with just today. I miss not being the only computer savvy person in a department of 50 people.

      --
      If a job's not worth doing, it's not worth doing right.
  27. Meetings, telcos, writing reports wear me out by PolygamousRanchKid+ · · Score: 1

    I love to program. When I am really into something, I lose track of time, forget to eat and drink, etc. I can do weekly marathons of it.

    However, meetings, telcos, reports seem to knock me down so much, that it's difficult to get back into the programming stride.

    I dunno . . . programming seems to generate and stimulate my mind, and keeps it going by itself.

    Meetings and co. make me comatose, so that it is difficult to maintain that programming stride.

    --
    Schroedinger's Brexit: The UK is both in and out of the EU at the same time!
    1. Re:Meetings, telcos, writing reports wear me out by JWSmythe · · Score: 1

          It's ways embarrassing to zone out in a meeting so much that when they finally get around to asking you a question after the first hour, you don't know what they're talking about. I guess what's worse is when they don't direct anything your way for the first two hours, and you start snoring. It was a good way to not get invited to many more meetings though. I told my supervisor, "If it doesn't actually involve me, I'm going to refuse the meeting invite unless you suggest that I attend." That was when I actually had a competent and professional supervisor.

          (...and I know you read here, so kudos to you.)

      --
      Serious? Seriousness is well above my pay grade.
    2. Re:Meetings, telcos, writing reports wear me out by Skal+Tura · · Score: 1

      Good for you :)

      In my last place of work both project manager of software projects and the boss both suck in that kind of stuff. I was never told what i needed to know, i was invited to meetings when it was next to useless for me, but not invited when it was actually necessary. Thank god that atleast i were the boss of network operations so i made the decisions on that 1/4 of my job :)

      Tho i left as 50+hr constant sprint was considered that i had to cheat somewhere, and under 50hr was considered i was slacking off along with the fact that i were by far most talented in that company being paid 30% under industry average. Yet being senior management, and offered partnership. Tho that partnership sounded like a trap, asked money for shares without telling if there's ever going to be dividends.

    3. Re:Meetings, telcos, writing reports wear me out by JWSmythe · · Score: 1

          A while back I worked for a place that paid incentive bonuses in shares of the company. Ahhh, what an evil trick. I still have them, just to remind myself any time someone offers me shares that they can and will be completely worthless. I've been offered shares in startups that had nowhere to go, and refused the gig. Nope, I believe in cash. If you give me a check, I don't even believe in that until I cash it or it clears. Sure, it might be the next Microsoft, but really the odds of that are so slim it isn't even funny. Never ever accept shares unless it's on top of an acceptable amount of money. Otherwise, they'll just end up as a decoration to how I was suckered into doing work for free.

      --
      Serious? Seriousness is well above my pay grade.
  28. maybe on average by Son+of+Byrne · · Score: 1

    I agree with the comment regarding being in the "zone." I don't code for a living anymore, but when I do, I can sometimes spend a full 9 hour day doing nothing but keyboard banging.

    Interestingly, I'd like to point out that when you're coding and really straining your brain, you're burning a lot more calories than you might think. I always thought it weird after a 10 hour day of coding to go home feeling like I was physically exhausted. In reality, the brain is one of the highest consumers of energy in the body and so it makes sense to me now.

    --
    I'd happily pay you Tuesday for a biopsy today!
  29. Re:Nope by bongey · · Score: 2, Funny

    So what if I am ? I have no problem coding circles around people that , oh wait a minute there goes a bunny.

  30. Never Had A Problem by nwf · · Score: 1

    I've been developing software for 18 years, and I've never encountered a time when I couldn't program anymore. 40 hours of work, plus another 10-15 while working on a masters and then back to programming freeware apps on the Mac. Easily 80 hours a week a while ago. Now I just don't have that kind of time, but I never feel as if I'd had enough. I rather like programming, hence pursuing that in college. I have had friends who became programmers just because of the high pay and you couldn't get them to touch a compiler outside of work. Sad, really. In fact, that was one of my major interview questions: do you program outside of work/school? If not, you have no passion and I don't want to work with you.

    Now if I had to develop highly analytical software like DSP or stuff involving tons of differential equations, I may feel differently.

    --
    I don't know, but it works for me.
    1. Re:Never Had A Problem by NiK0laI · · Score: 1

      Just because somebody chooses to not program after hours does not mean they don't have passion. Nor does it mean they suck. http://teddziuba.com/2009/10/i-dont-code-in-my-free-time.html

  31. Program about the same number of hours by Anonymous Coward · · Score: 0

    As a woodchuck chucking. Up.

  32. It's a physical thing by phantomfive · · Score: 5, Interesting

    Thinking is a physical thing, it requires energy, and can tire you out. If your body isn't in good health, you're not going to be able to concentrate for long periods of time without getting exhausted. If you aren't feeding yourself properly, you aren't going to have enough nutrients to keep your brain going.

    Now, being in good physical form doesn't mean being skinny: you can have terrible energy levels even if you are skinny, and you can have amazing levels even if you are fat. That said, the easiest way I've found to increase energy levels are first, to get enough nutrients (proteins, carbohydrates, fats, vitamins, fruits and vegetables) so your body can rebuild itself, and second, running. If you can run far, you will be able to program 60 hours a week without a problem. If you want inspiration (ie, extra motivation beyond just high energy levels), check out this book (I've no relation to the author, just found it inspiring).

    Whether you would want to program 60 hours a week is a different question.

    --
    Qxe4
    1. Re:It's a physical thing by Anonymous Coward · · Score: 0

      All good except for the running part. If your knees suck, you'll end up miserable all day if not all week - and sooner or later you'll probably slip and spread some of this "joy" to your co-workers. Either that or you'll getting hooked on over the counter pain meds, which probably isn't doing the liver any justice. And it's not necessarily a "fatty" thing; some folks have things like arthritis, congenital cartilage conditions, or bone spurs, and losing weight (although beneficial) doesn't help enough. Also would you really want somebody to have this in the adjacent cube all day?

      However there are good exercise substitutes, yet you'll have to change the metric vs. running distance/speed. A half hour of any brisk activity can clear the mind for better focus in the future. I'd recommend taking up cycling, swimming, or rowing to get the heart rate up without the knee pain. (A good rowing machine takes up less space than a treadmill when folded and probably gives a better workout.) Walking for exercise is also good, but further down the list since it doesn't get the heart rate up as much as running, yet it's acceptable since it doesn't hammer the knees as bad as jogging or running at a faster clip. So if you see somebody relatively young going at that pace, don't disparage them - they have their reasons. Be glad that they're doing something to burn the calories.

    2. Re:It's a physical thing by Anonymous Coward · · Score: 0

      Parent may sound crazy, but in my entirely anecdotal experience, it's true.

      One year ago, I resolved to get fit and eat healthier foods. I was seriously out of shape. Before, I couldn't make it up two flights of stairs without getting hot and winded. I would get tired and fidgety after programming and working with clients for two hours or less.

      Now, I regularly do 30 minutes of cardio three or more times a week. My circulation has improved, so I fidget less in the office chair. My concentration has improved. I no longer want to leave three hours before my shift has ended. I have an easier time analyzing and solving problems.

      Your brain needs oxygen to think. Take care of your heart and lungs, and it will get the oxygen it needs.

    3. Re:It's a physical thing by Anonymous Coward · · Score: 0

      I often wonder about the relationship between feeling alert & being able to think and exercise

      My best theory to date on it is that aerobic exercise leads to increased lung & heart efficiency, which lets you suck in more oxygen and deliver it and other nutrients to your organs better. Your brain is an organ, so it's happy with more O_2 and food, so it works better

      IANA biologist so this is pure uneducated speculation

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

      I don't buy the running correlation. Five years ago I wasn't running. Now I'm running 60-80 miles a week (and recently did two marathons in six days for the first time). But I don't see a correlation to how long I can keep programming before getting tired.

  33. Usual usability bitching by Tetsujin · · Score: 1

    I swear, programmers rarely actually use the software they program. If they did, then there wouldn't be all these horrible double-negative "Are you sure you don't want to upgrade your document format?"

    Wait, where's the double negative?

    The user has clearly elected not to upgrade the document format, and the application is asking for confirmation...

    --
    Bow-ties are cool.
    1. Re:Usual usability bitching by MoriaOrc · · Score: 1

      Clearly the AC didn't spend enough time testing (or using?) his post...

  34. Highly depends with me by Derekloffin · · Score: 1

    I find some projects I can just tear into and code like a mad man. Others are painfully dull slogs and I just can't seem to focus much on them. There is also a lot of the time I'll spend hours looking at a problem and just can't seem to make any progress on it because I'm just not grasping it. So, I can easily vary from about 40+ hours one of those mad man rushes, to much more painful 15 or so if I hit one of those troublesome problems.

  35. Office space by jimbolauski · · Score: 4, Funny

    Peter Gibbons: Well, I generally come in at least fifteen minutes late, ah, I use the side door - that way Lumbergh can't see me, heh heh - and, uh, after that I just sorta space out for about an hour.
    Bob Porter: Da-uh? Space out?
    Peter Gibbons: Yeah, I just stare at my desk; but it looks like I'm working. I do that for probably another hour after lunch, too. I'd say in a given week I probably only do about fifteen minutes of real, actual, work.

    --
    Knowledge = Power
    P= W/t
    t=Money
    Money = Work/Knowledge so the less you know the more you make
    1. Re:Office space by Timothy+Brownawell · · Score: 1

      Funny thing is, I've actually had days (or even weeks on rare occasions) just like that. Of course, there's also days when I'll stop programming for a minute to stretch, and suddenly realize it's after lunch time or everyone else is packing up to go home.

    2. Re:Office space by dudpixel · · Score: 3, Insightful

      this reminds me of a quote I read somewhere:

      "You never know when it will strike, but there comes a moment at work when you’ve made up your mind that you just aren’t doing anything productive for the rest of the day."

      so true...often hits around 8:30 am for me.

      --
      This seemed like a reasonable sig at the time.
    3. Re:Office space by hattig · · Score: 1

      I'm often still in bed at 8:30 am :-(

      But yeah, so true.

      Generally some days I feel like I do around one hour of actual work, and others up to four hours. Of course you can tack on an hour or two of meetings on top of that. And, of course, browsing the web is actually just a way to sharpen your mind as you think about your current task.

  36. Work smarter, not harder. by PhantomHarlock · · Score: 3, Insightful

    That's pretty normal. The important point is if you get the job done on time and in a time frame considered reasonable. People aren't machines. No one works every second at their desk. It also leads to things like crunch time at the end though, time management is a tough thing for most people. Seems to be the nature of humans though.

    Desk workers have it a lot better than assembly line workers, who are always 'on' when they are at their station, until they get their breaks.

    Me, I hate clock watching, I don't pay attention to that sort of thing. I just do the job until its done within the required timeframe. But I am fortunate to have a job with a lot of different hats, so I have a large variety in what I do. I switched careers 8 years ago to get away from a job that required me to be at a desk all the time. Sitting at a desk all day is one of the most unhealthy things one can do to oneself.

    The important thing is to balance and enjoy what you do. We really have no idea what happens when we die, there is a not-insignificant chance that there is no undying part of us. How do you want to spend your life? In fear of the clock and in guilt towards your employer, or have realistic expectations as a non-digital entity?

    Work hard and put in long hours when its warranted. Relax when you need to. Don't kill yourself or you'll burn out quickly and end up quitting anyway. Any excessive exertion will have to be made up for anyhow. It's like sleep - the debt accumulates, you will lose productivity later if you go overboard now. Zero sum game. Have fun, enjoy life, work well, be productive. Work smarter, not harder. Etc.

    1. Re:Work smarter, not harder. by Rivalz · · Score: 1

      Most of my work falls into this arrangement of time:
      60% Prep
      20% Execution
      20% Perfecting

      I always spend more time in preparation than execution.

      Preparation: Studying, Idea phase, collab, ect.

      Execution: Actual work

      Perfecting / Cleanup / Documentation / QA: the last mile

  37. Obligatory XKCD by Somebody+Is+Using+My · · Score: 5, Funny
    1. Re:Obligatory XKCD by clintonmonk · · Score: 1

      +mod

      I was about to post this.

    2. Re:Obligatory XKCD by JWSmythe · · Score: 3, Funny

      I've been caught surfing several times, and had to bring the windows that are compiling to the front and simply say "Look. Compiling. Can't do anything else right now.". I was actually asked to compile less and work more. hrm. Now I just work on the spreadsheet analyzing my pay, and start asking questions about inconsistencies in the checks. "Why is there a 10% difference between what I've worked, and what you've paid me for? Should I just go home until you've figured out your mistake?"

          They really shouldn't have made me find more work related items to do, and I wouldn't have found their accounting errors in payroll. A little here and there isn't all that noticeable until you go and do an audit of it. It may be uglier if I go get the rest of the numbers from accounting and compare it to the P&L sheets. Sometimes they forget, sysadmins and programmers can frequently do math better than accountants, because we can write a program to do it for us, and I use floating point numbers, rather than rounding everything. :) Sorry, your rounding doesn't work as accurately as you'd like.

          Too bad I can't cut checks, or I'd have it sending all the $0.00[1-9] to my own check. Whee, I made $50k extra this week. :)

      --
      Serious? Seriousness is well above my pay grade.
    3. Re:Obligatory XKCD by Anonymous Coward · · Score: 0

      You realize IEEE 754 is pretty much all about rounding, and you can't even represent 0.10 in (binary) floating point?

    4. Re:Obligatory XKCD by JWSmythe · · Score: 1

          Ya, but you can't refer to 1 hour 25 minutes of work time as 1 hour.

          Mon: 7hr 25min
          Tue: 8hr 15min
          Wed: 8hr 5min
          Thu: 8hr 45min
          Fri: 7hr 55min

          Real time: 40.416666666667 hrs
          They pay: 38.00 hrs

          Say $20/hr.
          Real pay: 808.34
          They pay: 760.00

          To the bean counters, they like it.

          Between the bean counters and Mr. Boss, they like it.

          Between Mr. Boss and Mr. Employee, "You haven't been working hard enough, you're 2 hours under for the week. If you don't shape up, we're going to let you go."

          Mr. Employee "Let me show you the hours I've been working, and that I've been underpaid."

          Mr. Boss "I don't care what you have to show me, work more or else."

          Funny thing, if every day is 8.0 hours, you're not working hard enough. Even if every day is 8.5 hours, you still aren't working hard enough. In both cases, the money will mysteriously be short.

          I'm pretty sure IEEE 754 isn't a real excuse for that.

      --
      Serious? Seriousness is well above my pay grade.
    5. Re:Obligatory XKCD by Anonymous Coward · · Score: 0

      Sometimes they forget, sysadmins and programmers can frequently do math better than accountants, because we can write a program to do it for us, and I use floating point numbers, rather than rounding everything. :) Sorry, your rounding doesn't work as accurately as you'd like.

      Why do programmers persist in believing that floating point numbers are the correct solution for dealing with currency? Currency calculations are mostly about adding and subtracting, things you should be doing with integers (fixed point).

    6. Re:Obligatory XKCD by JWSmythe · · Score: 2, Insightful

      Not when working time can be calculated in minutes, and they calculate them in hours or rounded hours. We'll use $20/hr as an example.

      1 hr = 60 minutes = $20.00
      1 minute = 0.0166666666666667 hrs
      0.0166666666666667 * 60 = 1.000000000000002 hrs = $20.00000000000004
      0.01666 * 60 = .9996 hrs = $19.99
      0.016 * 60 = 0.96 hrs = $19.20
      0.01 * 60 = 0.6 hrs = $12.00
      0.02 * 60 = 1.2 hrs = $24.00

      So, which number would you rather your payroll company use? I prefer the accuracy of 1.000000000000002 hrs. By your logic, truncate anything beyond two decimal points, and you're getting *REALLY* shorted on your pay.

      --
      Serious? Seriousness is well above my pay grade.
    7. Re:Obligatory XKCD by Anonymous Coward · · Score: 0

      Compiling. Heh. You know that's why managers invented Python, right?

  38. Does this help! by omar.sahal · · Score: 1
    Paul Graham notes..

    If a hacker were a mere implementor, turning a spec into code, then he could just work his way through it from one end to the other like someone digging a ditch. But if the hacker is a creator, we have to take inspiration into account. In hacking, like painting, work comes in cycles. Sometimes you get excited about some new project and you want to work sixteen hours a day on it. Other times nothing seems interesting. To do good work you have to take these cycles into account, because they're affected by how you react to them. When you're driving a car with a manual transmission on a hill, you have to back off the clutch sometimes to avoid stalling. Backing off can likewise prevent ambition from stalling. In both painting and hacking there are some tasks that are terrifyingly ambitious, and others that are comfortingly routine. It's a good idea to save some easy tasks for moments when you would otherwise stall. In hacking, this can literally mean saving up bugs. I like debugging: it's the one time that hacking is as straightforward as people think it is. You have a totally constrained problem, and all you have to do is solve it. Your program is supposed to do x. Instead it does y. Where does it go wrong? You know you're going to win in the end. It's as relaxing as painting a wall.

    Luminaries such as Jamie Zawinski and Richard Stallman work long hours. Richard Stallman worked 70 hours a week creating GCC in the 80s, I suppose that's why their the best.

    1. Re:Does this help! by elrous0 · · Score: 1

      A passion project is easy. Doing the boring crap that you couldn't care less about is hard.

      --
      SJW: Someone who has run out of real oppression, and has to fake it.
    2. Re:Does this help! by der_joachim · · Score: 1

      Please mod insightful.

      I am a programmer. I used to love my job. Now, I feel that I have hit a dead end. Our company is sinking slowly, our customers are parasitic ungrateful bastards, the project is mindbogglingly boring, and every time our CEO tries to do a 'pep talk', the programmers angrily leave the meeting. The productive hours of programming are at 25% of what they used to be. Not that I am slacking off 75% of the time, but I do not have the energy anymore to concentrate on programming for more that a few hours a day. I leave my office as a burnt-out husk.

      At least I know that I am in the wrong place and I am actively looking for another job.

      --
      Geek runner, motorcyclist and professional know-it-all
  39. I recall a study on a related topic ... by Old97 · · Score: 1
    it said that people could only focus productively for about 6 hours a day at best. Programming and detailed design would qualify. It did say that for 2 or 3 days at a time you could step it up but that you'd need a break. The study acknowledged that many people were at work for many more hours than that; it just said they weren't very sharp the rest of the time and that their productive hours were likely to drop below 6 if they worked too long.

    I find that I'm super productive for about 4 hours a day, in the morning. So, I set my schedule so meetings and less creative and mentally challenging (but necessary) work is done in the afternoons. I'd love to play games instead, but that's not an option.

    --
    Very often, people confuse simple with simplistic. The nuance is lost on most. - Clement Mok
  40. writing a book and solving a puzzle by innocent_white_lamb · · Score: 1

    I have spent over 30 years doing custom business programming but it's a sideline to my regular business, so I work on projects off-and-on.
     
    I view programming as a cross between writing a novel and solving a crossword puzzle, and I have never been able to be creative-on-demand, though I'll spend hours on end writing something when I'm "in the zone".
     
    I'm on nobody's clock, though. I don't think I could do an 8-hours-a-day programming job. I would be either bored out of my mind, or blocked and feeling stupid.

    --
    If you're a zombie and you know it, bite your friend!
  41. Average 60 by fdrebin · · Score: 1
    Long term average is about 60 hours per week. I've gone to about 106-107 for some periods, 3 months in one instance, but I was a bit toasted by the end of it.

    I'm referring to combination thinking/designing/coding, not counting breaks etc. (We were required to track our hours, what a pain). I'm also mostly autonomous and don't have to go to too many meetings.

    For you young weenies, I'm 54. Most of you kids can't keep up. (I did once meet a young kid who could wear me out time-wise).

    It helps that I've changed industries and roles several times, keeps things fresh.

    Hmmm, I wonder wonder why I sometimes get burned out?

    /F

    --
    Stupidity... has a habit of getting its way.
    1. Re:Average 60 by DamnStupidElf · · Score: 1

      Preemptive condolences on your imminent heart attack/stroke/nervous breakdown.

    2. Re:Average 60 by fdrebin · · Score: 1

      Nah, I'm as healthy as an ox. I feel just grea...&*)( ^ wgha'ts thayt opain in my armm ow...

      60 hours is no big deal, when you love what you're doing. I have had a few times when it was real torture to try and appear to be busy for 40 hours though.

      --
      Stupidity... has a habit of getting its way.
  42. I CAN code about 40-60 hours a week by jockeys · · Score: 3, Interesting

    but usually I only GET to about 10-15 hours, and spend the rest of my time dealing with meetings, documentation, etc. Coding is the fun part.

    --

    In Soviet Russia jokes are formulaic and decidedly non-humorous.
  43. Programming is *FUN* by Anonymous Coward · · Score: 0

    You must have the wrong end of this stick. I *love* programming; many programmers do. I don't actually do it much anymore, sadly, but I can still waste days on hobby projects. The trick is *stopping*. ... I mean the guy talking about boring work has got a point, but I've done some pretty boring stuff and once I get there staring at the screen and testing the stuff -- as it says on my resume, I "try to figure out why things don't do what I want - and the hours pass like the wind...."

  44. Yerkes Dodson Law by Chaseshaw · · Score: 2, Informative

    I'm in a very similar position. Coding something that is not interesting with a boss that hovers over me and thinks my productivity goes up if I spend an hour a day in meetings with her (she is not tech-saavy by any means and lacks any understanding of program developing). I'm pretty good at forcing myself to work, but end up with 45-50 minutes of good work in an hour. I chalk it up to the Yerkes-Dodson Law ( http://en.wikipedia.org/wiki/Yerkes%E2%80%93Dodson_law ) which basically says productivity has an inverse-U shape as a function of creativity. If you're a grunt adding receipts you need pressure on you to do your job and get anything done, but if you are asked to solve a problem creatively using a computer (e.g. most software development--the path to the finished version is not always explicit), high pressure from above makes productivity go way down.

  45. Are projects piling up? by Anonymous Coward · · Score: 0

    As long as you are getting your work done, does it matter? Now if you are limiting the number of projects being completed then there is a problem.
    At my job for instance, I have a certain amount I am supposed to get done and then I am supposed to be on call. I remain on call during the work day (yes thats part of your service) and I fulfill my other duties. If you are getting stuff completed in a reasonable time and providing the tech support service on call at all times, whats the issue? Unless you are building up a que from not getting stuff done fast enough, in which case you need to kick it in to gear.

  46. Writing specs IS programming by Anonymous Coward · · Score: 0

    I like how this guy just thinks programming is bashing on a keyboard.

    Open source people have rarely seen, or written, any good specs. I'm sure some fanboy will now come up with some dumb reason why NOT writing specs is somehow cooler and free-er.

    There's more to programming than typing in a debugger, mashing "go", and then fixing your next NULL deref. Try thinking! Try writing a spec, which is proof that you actually put some thought into something!

    1. Re:Writing specs IS programming by etymxris · · Score: 1

      There are plenty of open source technical specs.

      http://www.ietf.org/download/rfc-index.txt

  47. 20 hrs is not much.... by junglebeast · · Score: 1

    I allow myself little breaks here and there to check Slashdot, read my email, watch a quick TV show, etc.

    I don't see a difference between actually typing up code versus jotting down notes to sketch up an algorithm. As far as I'm concerned that's also part of programming and definitely still working.

    On some weeks I can spend up to 100 hours programming. I doubt I've ever gone below 35 hours a week in the past 4 years during a work week, although I have taken some vacations during which I didn't work at all.

    1. Re:20 hrs is not much.... by Skal+Tura · · Score: 1

      writing down notes, sketching etc. is def part of programming. It's stupid how few people realize that paper is still way superior tool for visualizing and solving complex problems quickly.

  48. Depends on Motivation by RAMMS+EIN · · Score: 1

    I find it depends a lot on how motivated you are. There are weeks in which I have spent more than 60 hours just coding. That's with practically all the design work done up front and an attitude of "let's sit down and get the code written". At other times, I have a hard time even being at work for 30 hours a week, let alone focusing on coding. On the other hand, some very useful things have sprung from those weeks, too. Turns out coding isn't all there is to life, and there are a lot of things I can do besides coding that people end up appreciating a lot.

    As for how much pure coding I can do in a week without getting worn out, I think that works out to about 30 to 40 hours, but obviously that, too, depends on several factors - e.g. if things outside work are draining your energy, you'll have less energy left to write good code.

    --
    Please correct me if I got my facts wrong.
  49. It's about sustained productivity by mrjb · · Score: 1

    It's not about how many hours per week you can program, it's whether it's sensible. Sure, I could code 60 hours in a week, but I've observed that I'm at top productivity when I code about 6 hours per day. I'll be less tired and more focused the next day, and will make fewer mistakes. Breaks are all right, but ideally when a piece of code is "done" so you won't interrupt your flow. Getting to bed on time, eating well etc. also makes a difference. I think your boss, too, would rather that you work at sustained top productivity than to see you burn out in a month by working 60 hours of straight coding per week.

    --
    Visit http://ringbreak.dnd.utwente.nl/~mrjb/growingbettersoftware to download your free copy of the book
    1. Re:It's about sustained productivity by Skal+Tura · · Score: 1

      All slavers would rather have you burn out in a month, than have sustained high productivity. Been there, Seen it, done that. Burned out and quit.

  50. Time worked not an issue by rwade · · Score: 4, Interesting

    You said you usually work about 10-15 hours per week. So that means that on some weeks, you fuck off on the internet for 30 hours a week!?! Sorry you to hear you get "interrupted a few times per day" while Facebooking. You poor, poor thing.

    We need to get away from this paradigm of "You must work 40 hours a week" to the paradigm of "You must do this, this, and this for me and I will pay you X." Sometimes we work the full 40, sometimes we work more, sometimes we work less -- the important part is delivering to your employer what he wants. Clearly, asker is doing that or he wouldn't be employed.

    I subscribe to the "As long as you're not illegally gambling or moonlighting from your desk, and as long as you're getting me what I need and not bothering anyone else, screw around on the Web as much as you want."

    1. Re:Time worked not an issue by CannonballHead · · Score: 1

      That's called "contract" work... where people pay you for each individual job.

      I get paid to be available for what my boss wants me to do. I get paid per hour of time, not per job.

      If he doesn't give me enough to do, that's his fault. Usually, I have plenty to do; if I don't, I try to FIND something to do so that I am not useless (and in fact show initiative).

      If you work in a job where you don't have anything to do anymore and you are still employed... you must work for the government! ;)

    2. Re:Time worked not an issue by Anonymous Coward · · Score: 0

      Do I have to pay you while you screw around? If not, then go right ahead.

    3. Re:Time worked not an issue by rwade · · Score: 1

      I get paid to be available for what my boss wants me to do. I get paid per hour of time, not per job.

      So whenever you work greater than 40 hours, you get overtime, right?

    4. Re:Time worked not an issue by CannonballHead · · Score: 1

      No, but my manager does not require me to work overtime.

      On the other hand, I'm willing - because I like my job, my work, and my manager - to put in some time without pay to get some projects done. Not much, of course.

      Maybe other managers/jobs/workplaces aren't as good and whatever, so I understand that. But I don't want to be paid per job like a contractor, and I don't want to be on a salary where I simply get my hours bumped down when there's not much to do that the upper management sees as useful...

      I am also not required to be working every single minute. I am encouraged to participate in site events, to get to know other groups in my building, etc. (assuming it doesn't interfere with my main job functions/priorities and my unit's schedules).

      On the whole, it seems Google has gotten some of this right. I wonder what their employee salary/payment stuff is like.

    5. Re:Time worked not an issue by rwade · · Score: 2, Insightful

      So whenever you work greater than 40 hours, you get overtime, right?

      No, but my manager does not require me to work overtime.

      First of all, consider yourself very lucky. I think it's pretty rare to have a boss that manages your work load well enough to keep you to 40 hours.

      Most of us that do mind-intensive work are non-overtime employees. Some weeks, the work takes more than 40 hours and we don't get paid a nickel for that extra work.

      The next week, everything has calmed down and there's not as much to do -- should I really be expected to bust my ass looking for stuff to do so that I can fill 40 hours even though I put in 50 the previous week?

    6. Re:Time worked not an issue by IICV · · Score: 2, Insightful

      We need to get away from this paradigm of "You must work 40 hours a week" to the paradigm of "You must do this, this, and this for me and I will pay you X."

      The problem with that philosophy is that if you are worth X, "this, this and this" invaribly changes to "this, this, this, this and set up the server" - while X remains constant.

      And then the business wonders why good tech workers change jobs more often than they change their shorts.

    7. Re:Time worked not an issue by cbart387 · · Score: 1

      My workplace (not just for IT) handles that by having a min of 30 hours you must work per week. Sick, vacation and etc count towards those hours. That way, there is some room to cut back on hours during the "non-busy" times, with the idea that some weeks you'll be more busy than others. You just need to maintain an average set of hours. Maybe that's something your employer would be willing to accept?

      --
      Lack of planning on your part does not constitute an emergency on mine.
    8. Re:Time worked not an issue by Anonymous Coward · · Score: 0

      Do I have to pay you while you screw around? If not, then go right ahead.

      Depends. Are you paying him a salary or an hourly wage? If you're paying him a salary, then you're paying for the deliverables, not his time (which is why he probably doesn't get overtime when you ask him to do more than 40 hours a week during crunch time). If you're paying him an hourly wage, then yes, you're free to not pay while he screws around as long as he is free to leave work when he's unproductive, whenever he chooses and then go home. Otherwise, you're paying for the time he has made available to you by staying around his office, whether or not he's doing anything you consider productive at the time.

      Of course, if you think he's not getting enough done for the money you pay him, you get to fire him and hire somebody else you deem more competent, regardless of whether you're paying him a salary or hourly wage. If you can't find any replacement that does what you want for the money you're willing to pay, you're shit out of luck. That's called capitalism.

    9. Re:Time worked not an issue by Skal+Tura · · Score: 1

      problem with "You must do this, this, and this for me and I will pay you X." paradigm is that unless you got a strong say in task list and payment, you will get screwed every single time, and end up working 90hrs a week for half the pay.

      That just doesn't work in development, you can't estimate anything reliably enough in advance in software development. There's always unforeseen things. What if your data is enough complex and your queries so complex and you get constant table scanning with no sane way of stopping it without doing "cache" tables (combined data sets for simplified querying of single purpose data) which takes you 40 extra hours to complete? That was in a task of 10hrs, whups, you just cut your salary into 20%.

      Of course it works the other way around too, to a point where the employer notices this and thinks you are scamming.

      Paying a developer is insanely tricky task, as a good developer might make everything seem so simple and trivial, while bad developer will make everything look complex and hard.

    10. Re:Time worked not an issue by omglolbah · · Score: 1

      Some places it is not about luck at all. Unpaid overtime is illegal here in Norway unless you are in upper management.

      There is also a limit of 200 hours of overtime per 26 weeks.
      Maximum 13 hours worked per day.
      Minimum of 11 hours off work between "days".

      If you want to do more, you have to petition for it with the department in charge of labour. You better have a good reason for requiring overtime though!

    11. Re:Time worked not an issue by Billly+Gates · · Score: 1

      If 2 workers provide what you want by working half the time, then logically one worker who does nothing but work from 8 -5 can do the job for half the price!

      If you have the attitude of do whatever it will not be long before an accountant wonders why are we paying you in a recession when we need to cut costs. Sure you have a point but it takes away job security. Someone out of work will be happy not to slack anymore to quit his mcjob he had to take while he tried to get back into the white collar world.

    12. Re:Time worked not an issue by networkBoy · · Score: 1

      I've refused promotions specifically so I stay hourly. I am a realist in that I know this places me lower on the pecking order politically and my ideas are often not carried with the same weight as an exempt employees ideas. The good thing is that my skillset is *always* in demand in my business group, so I'm always busy, get overtime, and for teh last three years running have been paid more than the engineers due to the OT.
      -nB

      --
      whois gawk date unzip strip find touch finger mount join nice man top fsck grep eject more yes exit umount sleep dump
  51. Does this help!! by omar.sahal · · Score: 0, Redundant
    Paul Graham notes..

    If a hacker were a mere implementor, turning a spec into code, then he could just work his way through it from one end to the other like someone digging a ditch. But if the hacker is a creator, we have to take inspiration into account.

    In hacking, like painting, work comes in cycles. Sometimes you get excited about some new project and you want to work sixteen hours a day on it. Other times nothing seems interesting.

    To do good work you have to take these cycles into account, because they're affected by how you react to them. When you're driving a car with a manual transmission on a hill, you have to back off the clutch sometimes to avoid stalling. Backing off can likewise prevent ambition from stalling. In both painting and hacking there are some tasks that are terrifyingly ambitious, and others that are comfortingly routine. It's a good idea to save some easy tasks for moments when you would otherwise stall.

    In hacking, this can literally mean saving up bugs. I like debugging: it's the one time that hacking is as straightforward as people think it is. You have a totally constrained problem, and all you have to do is solve it. Your program is supposed to do x. Instead it does y. Where does it go wrong? You know you're going to win in the end. It's as relaxing as painting a wall.

    Luminaries such as Jamie Zawinski and Richard Stallman work long hours. Richard Stallman worked 70 hours a week creating GCC in the 80s. There is an Arabic saying "If you want to surpass others you have to burn the midnight oil" I suppose that's why their the best.

  52. It varies, wildly by GryMor · · Score: 1

    Ignoring for the moment that I'm pretty much always grinding on some problem in my head, anywhere from 5 to 80 with 30 being normal. It's not something I can really control, sometimes it just flows, sometimes it's pulling nails to do anything. But from another perspective, the 5 hour weeks usually preceed the 80 hour weeks, and it's often thinking about the project/problems that gets in the way of doing them, so probably it's a good thing.

    --
    Realities just a bunch of bits.
  53. Am I... by geekmansworld · · Score: 2, Insightful

    "Am I normal or stealing?"

    No.

  54. Hours put in vs. results put out by Attila+the+Bun · · Score: 3, Insightful

    I think the very concept of "stealing" time is arse-backwards. I don't care or count how many hours my team puts in. I judge them by what they do: how many tasks or projects they complete, and how much help they needed. If anybody seems easily able to deal with their workload, I give them more challenging tasks. And if they complete those too, I use that to justify a raise at the end of the year (theirs, not mine).

    If an above-average guy only does an average amount of work and spends half his time web-surfing, that's no reason to fire him. But he'll only get an average review.

    That's my system, and I think it's fair.

    1. Re:Hours put in vs. results put out by Anonymous Coward · · Score: 0

      Sanity? In management?

    2. Re:Hours put in vs. results put out by Skal+Tura · · Score: 2, Interesting

      That is indeed fair system. Keep it honest, and going. Don't ever forget to really reward for getting most done, and if someone fails remember to check the specs, if it was feasible or was the problem elsewhere.

      I've been with an employer who constantly gave me more work. He gave me about 6-7months total working time to complete 13month project, which was in the first place under budgeted, under manned effort. He told me i can use couple guys as much as i need, but told them to refuse almost anything but the absolutely most crucial, by keeping their workload and priority list so that i wouldn't get any help. Needless to say that project was late at the time of my departure, but still within 13month hour budget, and 95% complete.

      During this time i was given a complete company to look over which was acquired, i was made the manager of network operations. My job also consisted of whole new areas, i also did some sales and customer support. I saved multiple client relationships by pulling aces out of my sleeve by stepping into the project. During the short timespan i was in the company, on paper i was least experienced, least educated, but when i left i had the 2nd biggest responsiblity in the company, directly after the owner & founder of the company. I was involved literally in everything. I worked way too long hours too, at constant sprint speed. It was a reaally lucky day if i got a 10minute break to read slashdot.

      I told my responsibilities and workload does not match anywhere near my compensation. I was being paid 30% under average, basic junior web developer's salary. I was laughed at and basicly told to f* off. This despite being just offered partnership, which was used as an excuse for keeping my salary same. Partnership you ask? Yeah, he asked for money. I would have had to buy shares, without knowing if there will be dividends. I was given absolutely no details. I was also invited to the board. Best of all? My salary was so low that i couldn't afford to buy shares. I was living from hand to mouth. Every person in the world needs hobbies etc. to stay sane, so my only choices was to end all my hobbies to afford even proper clothing required for my level. I had only 300e monthly budget for extra expenses. The lowest i've had ever, even unemployed i had more.

      Don't become that slaver. There was plenty more wrong in that place, such as working time was accounted at 15minute accuracy, and you were supposed to put almost every single minute of your working time to some client.

    3. Re:Hours put in vs. results put out by Anonymous Coward · · Score: 0

      Who are you, and how do I get a job working for you?

      Atamido

  55. It's a simple formula by Anonymous Coward · · Score: 0

    For me it takes 20 hours of product planning to allocate 20 hours of my time which allocates 40 hours of QA time. So while our product planning team could double their amount of planning (and do nothing else) to allocate me full time, we still don't have the QA for it.

    Sometimes with maturity you realize that you can't code as fast as you like, not because you're not able, but because the rest of the organization can't keep up.

  56. If You're in it for the Long Haul by twmcneil · · Score: 1

    It's only relatively recently that natural breaks have disappeared from our landscape. In the 70's, I would have to wait 20-30 minutes after reading in a box of punch cards to get output from the run. Later, the COBOL compiler I used would take at least ten minutes to complete. Ditto Turbo C if I recompiled the whole project including all dependent programs. Now I use Delphi or Flex Builder and there is no waiting so I take a break now and then anyway.

    Sure there's always going to deadlines and other crunch times when you need to go all out, but if you're in this for the long term, you're going to have to pace your schedule so that you don't burn out. Fail to do that and I guarantee that in a few short years you will be ready to chew your own arm off just to get away from that stinking job.

    --
    "The ferrets, they're every where I tell you!"
  57. Sounds pretty normal to me by Ambassador+Kosh · · Score: 1

    My experience is that good coding does not work in large blocks over long periods of time. Productivity takes a nosedive pretty quickly at more then 4 hours or so in a day. I have run many tests on my code and others and so far my experience is that while you can keep writing code all day the code ends up buggier the longer you work on it and nastier to maintain later. Many times if I have a hard problem to solve I will just leave it for the next day since overnight almost 100% of the time I will dream up a better solution that will be simpler, faster, easier to write and easier to maintain. I have had to work with so many systems that where built by someone staying late and kept working on it that where so darn nasty to work with later and massively buggy.

    Mental activities are just not well suited to extended effort. There are too many things to go wrong as you start to get tired or can't see the entire picture of what you need to get the code working right. I also try to follow rules of keeping functions very short with well defined inputs and output and no tricks to speed things up unless actually required. Lots of functions where the output only depends on the input where possible are easier to debug later, easier to replace, easier to maintain and easier to make faster later then giant balls of code. I am not suggesting functional programming but some aspects of functional programming are good ideas for maintenance.

    --
    Computer modeling for biotech drug manufacturing is HARD! :)
  58. Get married to a crazy chick. by tjstork · · Score: 0, Offtopic

    Get married dude. you'll be hitting 70 hours a week of productive coding in no time as you get sick of your stupid, worthless wife, and she goes off and finds a boyfriend, and then you hate her and him more and more...

    Uh... not saying anything like personal, or anything.

    --
    This is my sig.
  59. Not unique to coding by thepike · · Score: 3, Insightful

    I've worked a number of places (sales, factory, desk jobs etc.) and at all of them I've seen people spend way less time doing "work" than the amount of time they were at the job site. Some examples:

    • At the pet store I worked at in high school we would work hard before opening and after closing so that when the store was open if there were no customers we could just stand there because our tasks were done
    • At the factory I worked in, I spent a lot of time personally just standing around because I wasn't qualified to set up machines or work on them alone (I didn't work there long) so if someone else didn't need an assistant, I got paid to sweep the floor or some such thing. Also, on that note, they definitely could have set up the machines faster, but overtime was the name of the game so they dragged their feet
    • When I worked in an office people often didn't do things efficiently. Some of it was messing around (email etc) some of it was work sanctioned (long pointless meetings) and a lot of it was general inefficiency (many people only know how to do about 2 things in excel, and a lot of those excel functions could be replaced by a python script to do it for them

    Now I work in a lab and teach (I've always been a biologist, just not always employed as one) and my lab mates give me crap for the little amount of time I actually spend in the lab. They'll be here from 8 in the morning to 7 or 8 at night, and I'm usually here 9-5. The difference is that I multitask, while they tend to do one thing at a time. So if I have some PCR or a gel or something running, I'll start doing something else at the same time, staggering them so that I'm always doing something and, hopefully, when I finish with one thing, the next is about ready to be worked on. Or I'll read, write, or grade papers, things like that. I end up getting more work done in my 9 hours on site than they do in their 11 or 12. Luckily my boss has figured it out and lets me basically come and go as I please, as long as I give him good results, but everyone gets so worked up about face time that there have been multiple complaints.

    I say, as long as your work is getting done, who cares how long it takes. If you're programming 15 hours a week and getting it done, more power to you. Just because someone else takes longer to do the same task doesn't make them any more valuable as an employee. Actually, assuming you're more efficient than them, it makes you more valuable, in my eyes.

    1. Re:Not unique to coding by Anonymous Coward · · Score: 0

      Now I work in a lab and teach (I've always been a biologist, just not always employed as one) and my lab mates give me crap for the little amount of time I actually spend in the lab. They'll be here from 8 in the morning to 7 or 8 at night, and I'm usually here 9-5. The difference is that I multitask, while they tend to do one thing at a time.

      I grew up in labs where it was a game to be the first in and the last out. Usually included mocking people who came in after or left before. It's completely unhealthy and moderately counter productive. Few people can actually think for 10, 12 or 14 hours straight, so the longer you're there, the more mistakes you make. If you're going to be 'in lab' for 12 hours, it's a lot easier to justify time spent on web surfing or otherwise goofing off, so the more hours people were in lab the fewer of those hours tended to be work hours.

      I came to the conclusion that most people can't actually tell when they're working and substitute physical presence for work. Potentially a defect of our educational system, where the goal is often to keep students in class, reward them for whatever they do, and pass them on when their time is done

    2. Re:Not unique to coding by Anonymous Coward · · Score: 0

      You may quite get fired so keep an eye out. Your boss will say he doesn't want to do it but he has to.

  60. Full time programming, logging hours by baldbobbo · · Score: 1

    I'm a full-time programmer - all I do is program. Rarely have meetings (every other week), don't deal with customers. Just program. My boss is strict on me logging hours - not to keep track of time, but to bill clients. He doesn't mind if I'm only getting 4-5hrs in an 8hr day, because he knows I'm being honest. The important part is logging accurate hours for billing the customers. In a good week (where I'm dealing with new issues each week, resolving lots of bugs, adding new features), I will log around 25-30 hrs. In a slow week (one problem bug), I get bogged down and do around 20hrs. I find that if it's difficult, it's best to clear my head and do other activities (walk, surf the tubes), but if it's not frustrating, I really get immersed in my work, and am really productive. It really depends on how the person handles what they're working on. If it's tedious and drains your attention, I find that most people turn to distractions to clear their head, like going on Slashdot an hour before you get off work (hehe). Other days, I'm so caught up in knocking out bugs left and right and getting a lot accomplished that time flies and I might put in a full 8hrs of work. Really depends on your work environment and what work you're doing.

    --
    -Bob
  61. Wow. Bitter much? by Weaselmancer · · Score: 5, Insightful

    Oh, and by the way, I'm on my daily 10 minute break. Back to actual work for me. Have a nice 8 hour day doing.....whatever it is you do.

    You sound terribly mismanaged, and understandably a little bit bitter about it.

    Let me tell you something. Best managers view programmers as black boxes. Work requests go in, work comes out. If work>=schedule, then you have a good programmer and that's that. Doesn't matter if he plays Tetris 39 hours a week. If the project gets done, done right, on schedule - why would you care about anything else?

    The worst managers are micro managing nitwits like the one you work for. Seriously, he has a stopwatch and is timing your one single ten minute break? If you take an extra minute or two do you get written up or talked to? Sounds like kindergarten to me. No thanks.

    Look around some. You might just find a job that doesn't make you die of hypertension by your 50th birthday. They do exist, you know. You can work, put in good solid days and make good product - and not be treated like a member of a chain gang.

    --
    Weaselmancer
    rediculous.
  62. Code Monkey get up. Get coffee.... by Itninja · · Score: 4, Funny

    ....its not fulfilling or at all interesting

    This job fulfilling in creative way. Such a load of crap.

    --
    I judt got a nre Kinesis keybiartf so please excusr ant egregiou typos.
    1. Re:Code Monkey get up. Get coffee.... by hoggoth · · Score: 0, Offtopic

      Need Fritos, Tab, and Mountain Dew.

      --
      - For the complete works of Shakespeare: cat /dev/random (may take some time)
    2. Re:Code Monkey get up. Get coffee.... by Prien715 · · Score: 1

      Yeah, it's totally cool to be cynical. And easy.

      Do I think the people who started Google, Earth Viewer 3D (Gooogle Earth), or YouTube found it creatively fulfilling? Probably.

      Actually doing it? Hard.

      --
      -- Political fascism requires a Fuhrer.
    3. Re:Code Monkey get up. Get coffee.... by Dekker3D · · Score: 1

      whoosh. also, look up the song "code monkey". i thought it was funny.

    4. Re:Code Monkey get up. Get coffee.... by WORMSS · · Score: 1

      Jonathan Coulton.... Very Nice! Quoted a lyric from "Chiron Beta Prime" the other day myself :D

  63. I'll play Devils Advocate here by databank · · Score: 5, Insightful

    Is it okay for you to hire a gardener for 20 hours of work and have him actually work 10 hours and take a break for 10 hours?

    Some people may feel that that analogy doesn't have any bearing cause its not in an IT field. Say, if you decide to hire a web design consultant, would you be okay with paying him out of your own pocket for a 40 hour week if it includes surfing the web, chatting with friends over the phone, taking long lunches etc?

    This doesn't mean you need to chain someone down to their job and certainly taking small breaks throughout the day is needed just to mentally refocus, but if you don't feel comfortable paying someone 40 hours for 20 hours of work, why would an employer be okay about it?

    Food for thought.

    1. Re:I'll play Devils Advocate here by hsthompson69 · · Score: 4, Insightful

      I guess the real question here is do you hire a gardner to do 20 hours of work, or do you hire him to maintain 20 yards. If he gets all 20 done in 10 hours, does it matter how many hours it took him?

      In the case of IT, I suppose the problem is that the skill level can vary so dramatically that you can have a "20 hour" task that takes some people 30 minutes, and other people 3 weeks. You certainly can't get away with paying someone for only twenty hours if they work 3 weeks in a row, but it should tell you something about how much you can expect out of them in the future.

      FWIW, I think in the end coding and programming are more like art than like building widgets. Sometimes, epiphanies happen quickly, other times, not so much.

    2. Re:I'll play Devils Advocate here by Anonymous Coward · · Score: 0

      I'm paying the gardener to keep the garden green and free of weeds. Whether he does it in 2 hours or 20 is largely immaterial for me.
      As a matter of fact I would probably prefer the one who's able to do it in 2 hours (for the same price) rather than someone
      who putz around for 20 to get the job done.

    3. Re:I'll play Devils Advocate here by GeckoAddict · · Score: 2, Insightful

      It depends. If he spends 10 hours getting supplies from the store, picking out plants, drawing a layout of the plan, and meeting with me, then I have no problem with the gardener doing 10 hours of actual manual labor planting and cutting. I think similar situation applies, it's just that instead of all those things it's reading requirements, meeting stakeholders, answering questions about older projects, participating in training activities, etc.

      At my place of employment we use TSP/PSP and we're expected to maintain 12-14 hours of 'on task time', meaning time actually writing code or design documents. Contractors (who have less meetings and are less involved in requirements/design and department training/meetings) are expected to get around 20. The rest of the time is due to meetings, demos, research, answering questions, answering the phone, status meetings, setting up test equipment, etc. Someone stops by your cube to ask a question, you stop the timer.

    4. Re:I'll play Devils Advocate here by Son+of+Byrne · · Score: 1

      I think what it comes down to is what the employer is willing to tolerate. If you're the employer and you don't like the idea of your developer spending 20-30 hours a week doing research or thinking about coding rather than actually coding, then it's your prerogative to let that developer go.

      Honestly, I don't give give a flying flip how long it takes someone to do a job, I just want them to do the job for the compensation that we agree upon.

      --
      I'd happily pay you Tuesday for a biopsy today!
    5. Re:I'll play Devils Advocate here by GeckoAddict · · Score: 1

      I should also mention that that time doesn't include code/design/document reviews, which could easily take up another 2-3 hours a week depending on the development cycle.

    6. Re:I'll play Devils Advocate here by stimpleton · · Score: 1

      "Food for thought.

      Thought about it for maybe 3 seconds and my response is that this situation is classic ill defined job description, and the onus/fault lies with his employer.

      "Is it okay for you to hire a gardener for 20 hours of work and have him actually work 10 hours and take a break for 10 hours?" No. But this doesnt apply to the posters situation, so I assume you mis-pasted from another forum? And his line "Me and another guy maintain an intranet site of a couple dozen web apps for an I.T. department, so we work on a few different things: phone calls, bug fixes, feature adds, as well as writing new web apps from the ground up, all in a days' work" is indicitive.

      So...in a sentence your Lawnmover guys job description is: "Yard Maintainer, 20 hrs/week. Mon/wed/Fri. 9-3:30pm. Duties: Lawn Mowing(10hrs approx). Gardening (8 hours approx). Equipment Maintenance and purchases(1 Hours". Lawn Care Training(Investigation of latest turf techologies 1)

      If I want a Lawn mowerer person for 10 hours it reads: "Yard Maintainer, 10 hrs/week. Mon/wed. 9-2:00pm. Duties: Lawn Mowing(10hrs approx)."

      Employers: Its not hard.

      --

      In post Patriot Act America, the library books scan you.
    7. Re:I'll play Devils Advocate here by merreborn · · Score: 1

      Software development is creative work. "8 hours of programming" probably doesn't consist of 8 hours of typing. And if it does, you're either an incredibly productive programmer, or an incredibly inept programmer

      How would you pay a poet by the hour? Does he only get paid for the hours where his pen is actually touching paper?

    8. Re:I'll play Devils Advocate here by fumblebruschi · · Score: 1

      If I hire a gardener the deal is something like "Get my lawn mowed and the bushes trimmed and the winter debris cleared up, and have it done before the weekend. I'll pay you $X." As long as the gardener gets everything I asked for done before the deadline we agreed on, he can spend half his time in a hammock for all I care.

    9. Re:I'll play Devils Advocate here by secretcurse · · Score: 1

      I think your point is definitely valid, but I feel as a salaried employee I'm being paid to get my job done. I don't get any more money on the weeks it takes me 50 hours to do my work, so I don't feel bad if some weeks I'm not busy every moment of the work day. When I'm done with my tasks for the day, I ask the other people on my team if they need help. If they don't, I'll ask my boss if he needs anything. If everyone is covered, I hop on the web. If I'm paying a gardener by the hour to make my yard pretty, he better stay on task. If I'm paying him by the job, I don't really care how he structures his time as long as he completes the work I paid him for in the timeframe we agreed on.

      --
      I'm using all of my mod points to mod ancient memes down. Please join me.
    10. Re:I'll play Devils Advocate here by John+Betonschaar · · Score: 2, Insightful

      ^ this

      For larger code development jobs where multiple people are involved and the code is going to be maintained and supported for a long time, it's even harder to relate 'hours actively spend programming' to 'productivity'. A bad developer may be able to implement a new feature by working his ass off the whole week, but if it turns out that the code is so bad or buggy that it's hard to maintain, unreliable or even needs to be re-done completely, these 40 hours a week might actually cost the company hundreds of hours of extra work somewhere along the line. If you get the job done right, on time, it doesn't matter how you spend the hours doing it, even if it involves having to take your mind off the actual code and relax every now and then. I'm 100% convinced that you cannot force the human mind on a single, fixed and complex task for too long without losing your overview, and eventually ending up in dead-ends that you could have avoided by switching to completely unrelated tasks a few times each day. Some days your mind is on a train and you can go on for hours, but other days you get stuck on something, and forcing yourself to keep staring on that stream of codes on your screen will not help you.

    11. Re:I'll play Devils Advocate here by mraiser · · Score: 1

      I think if you look at your employees like contractors, paying them by the minute, you will inevitably end up with people who are physically present for 40 hours and mentally present maybe 12 of them.

    12. Re:I'll play Devils Advocate here by godrik · · Score: 1

      I am sure I can build a machine that leaves my pen touching the paper 24 horus a week! (and write poems on my computer)

    13. Re:I'll play Devils Advocate here by Anonymous Coward · · Score: 0

      Well, in fairness, the "screwing off" element of the submitter's schedule was "several hours a week". You know, if a 40 hour a week gardener took 2 15 minute breaks a day, that would be by my calculation, also "several hours a week".

      But given that, the real question is: What is the submitter talking about!? It sounds to me like "I work a coding job, but only code 10-15 hours a week...did I mention I also maintain and provide support for various other intranet sites?" That sounds like part time coding, part time something else...10-15 hours may be a lot of coding relative to the other duties.

    14. Re:I'll play Devils Advocate here by Anonymous Coward · · Score: 0

      "Food for thought" is a very, very well know weasel phrase. It's a great indicator that a person doesn't really know the subject of discussion. Disclaimers of devil's advocate notwithstanding.

      In non-trivial programming I'd make a (very) educated guesstimate that 90% of the time is spent woolgathering, surfing while your mind digests requirements, looking at related examples of other peoples techniques, gossiping across the desk with your colleagues. It relaxes you AND gathers potentially useful data, and when you re-focus on the job - it gets done.

      Employers are paying for this, not keystrokes-per-hour, but the job done part.

    15. Re:I'll play Devils Advocate here by sdguero · · Score: 1

      Yeah but what if the gardener is spending the other 20 hours cleaning your pool, rain gutters, and working on a garden on the side of the house. If you tried to pay him for 20 hours of work when he was physically doing something on your property for 40, I don't think he'd be too happy.

    16. Re:I'll play Devils Advocate here by thoughtsatthemoment · · Score: 1

      This is indeed insightful you are a slave owner.

    17. Re:I'll play Devils Advocate here by Anonymous Coward · · Score: 0

      If the gardener (#1) gets half the pay as gardener #2 that takes reasonable breaks this is reasonable.

      Senior gardener #3 may be 10x as efficient but only works 4 hours and he would still be a better value for the same rate of pay.

      Realistically I might pay Gardener #4 more than all the above if he knows how to increase the yields of my crops, cut my costs, can train junior gardeners in these techniques, etc. even if he only works 1 hour.

      That is the REAL free market at work.

      If instead the job is on an assembly line where one person's work gets passed to the next etc. then sustained, consistent productivity is an absolute requirement.

      My coding productivity is nowhere near that consistent. Last year at this time I was churning out 5-10x as much equally functional code as I am now. Last year the specifications were in place, planning was sound, etc. This year is a clust%^$#k !

    18. Re:I'll play Devils Advocate here by hoggoth · · Score: 1

      > At my place of employment we use TSP/PSP and we're expected to maintain 12-14 hours of 'on task time',

      Yeah... Make sure you put the new cover sheets on your TPS reports. Mmmm That would be great.

      --
      - For the complete works of Shakespeare: cat /dev/random (may take some time)
    19. Re:I'll play Devils Advocate here by Anonymous Coward · · Score: 0

      Is it okay for you to hire a gardener for 20 hours of work and have him actually work 10 hours and take a break for 10 hours?

      Some people may feel that that analogy doesn't have any bearing cause its not in an IT field. Say, if you decide to hire a web design consultant, would you be okay with paying him out of your own pocket for a 40 hour week if it includes surfing the web, chatting with friends over the phone, taking long lunches etc?

      This doesn't mean you need to chain someone down to their job and certainly taking small breaks throughout the day is needed just to mentally refocus, but if you don't feel comfortable paying someone 40 hours for 20 hours of work, why would an employer be okay about it?

      Food for thought.

      You raise a good point, but I put to you that value for money is achieved for the employer not by the quantity of work produced, but the quality. (This example has been used previously on slashdot, sorry I can't remember who I'm referencing) If programmer A was to create an app for x usage and spent every minute he got of the 3 months before the deadline to complete his task; and programmer B had a similar task and spent only 1 month writing it, where the remainder of the time was spent on twitter, facebook, slashdot, theregister, smashingmagazine etc relaxing and intaking new techniques and material, and the end result was a program which was coded better because it wasn't rushed. The developer also has gained more knowledge in his field through voluntary research without the company having to invest anything more than the developers time which in the end will make him a better programmer.

      Personally I'd rather have programmer B working for me, even if it means cutting him slack for time he appears to be wasting, because at the end of the day I know I'll have a more motivated programmer who is far more willing to put in extra work when deadlines are tight and be able to produce a higher quality of product.

    20. Re:I'll play Devils Advocate here by Anonymous Coward · · Score: 0

      It's also considerably different in this situation. If you're an hourly programmer (read: outsourced code monkey) chances are you are paid to spend exactly X hours programming and get paid for X hours.

      Most development positions are viewed considerably differently, and are salaried. You are paid to get the job done.

      If you agreed on an upfront fee with your landscaper, would you CARE how many hours of actual manual labor he spent on it?
      One landscaper might get all the manual labor done in 10 hours, another might take 15-20.

      The point is, so long as they meet the agreed upon deadlines, it doesn't make any difference whatsoever, and they're still going to get paid the agreed upon sum (assuming they did things the way you asked).

    21. Re:I'll play Devils Advocate here by GeckoAddict · · Score: 1

      It's not a micromanaging style though. The project managers only get access to the team rollup, not to the individual stats, and recoding the time has actually made the team better at estimating and better at seeing date slippage earlier. The stats of 'on task time' are personal, not compared between employees, and only ever brought up if there's a problem. As an added bonus, it's gotten us more 'work at home' days and 'no meeting days', which has lead to happier developers and more productive use of my time. I'm not saying it can't be abused, butt if used properly, it can be good tool.

    22. Re:I'll play Devils Advocate here by copponex · · Score: 4, Insightful

      why would an employer be okay about it

      Because the boss is making 300 times your salary, and can't do 300 times the work. He knows that, and you know that, and you both know him flying first class is a waste of money, as is the expensed dinners, "retreats" in Caribbean, the company Audi, the office remodel that cost the company ten or twenty grand..

      Work rules are for the lower rungs of the ladder only, because they are the only ones who actually do anything. The higher you get, the more you get away with, as long as you are playing by the real rules: keep your mouth shut, do what you're told, and don't make any noise about the corruption and waste at the top. If you find yourself making waves at meetings about company waste or using that dirty "ethics" word, you'll quickly find yourself playing by the work rules again.

      That's why the whole top of the pyramid is nothing but pimps and hookers.

      a spade is still a spade, a collar is still a collar
      whether it be blue or white
      it's still around your neck, the silk leash nice and tight
      your wife helped pick it out
      the irony is that you worked 3 hours for it
      you wish you could ignore it:
      you're a hooker

    23. Re:I'll play Devils Advocate here by Anonymous Coward · · Score: 0

      Are you comparing contract vs permanent?

    24. Re:I'll play Devils Advocate here by firewood · · Score: 1

      Is it okay for you to hire a gardener for 20 hours of work and have him actually work 10 hours and take a break for 10 hours?

      If that gardener (or web consultant, whatever...) leaves behind a better garden and less mess than any alternative available gardeners for the same billed hours, absolutely. Or if he charges less than half as much per hour and I end up paying him less for his 20 billed hours than any alternative gardener's 10 hours, and my garden looks the same after either, why not?

    25. Re:I'll play Devils Advocate here by Anonymous Coward · · Score: 0

      I'm paying my gardener to manage my garden. I don't care whether he takes one morning to do so or all week: as long as my garden looks nice and pretty, he gets his money.

    26. Re:I'll play Devils Advocate here by Anonymous Coward · · Score: 0

      Yeah, if I paid for 20 hours and got 10 I would be mad. But if I had a gardener and simply said "Clean-up the leaves, mow and weed." (which I do a lot as a real estate investor in my evenings) and he finished it in the timeframe I asked for, I would not care. In fact, I just had a roofing contractor quote me time and materials with 2 weeks of work for the job. He finished in a week and I gladly paid him for 2 weeks as he finished the project in the time requested and it was of good quality. If he had goofed off and taken 2 weeks I would have been no less happy with his work. I would rather have good work from a goof off than poor work from a bust-ass any day.

    27. Re:I'll play Devils Advocate here by Anonymous Coward · · Score: 0

      by the book sold ?

    28. Re:I'll play Devils Advocate here by johncadengo · · Score: 2, Interesting

      What constitutes work for a gardner? Is he working only when blades of grass are cut, only when he is moving, only when bushes are being trimmed?

      Now, what constitutes work for a programmer? Is he working only when he is typing code, only when reading specifications, only when debugging?

      It is hard to imagine that the gardner who works 20 hours a week but charges for 40 needs the extra 20 hours to plan out his next move. Yet, for the programer, the thought process is just as much work as the typing. And the vast majority of programs are the result of thinking done while resting or being distracted. Like a benefactor supporting an artist, the manager pays for the final product, which involves time beyond the simple manufacture of it.

      --
      My page.
    29. Re:I'll play Devils Advocate here by Anonymous Coward · · Score: 0

      But the big difference is that, unless there is something wrong with your body, there are no obstacles to actually physically working 20 hours, with appropriate breaks every now and then.

      However, at least for me, and, as others have observed, you simply cannot force your brain (even a perfectly healthy one) to work 100% for a pre-specified time period and be 100% productive in that period. The exact percentage is apparently up for debate, but from skimming the text on this page, it seems to be around 50% or less, lest the productivity actually drop.

      I'm talking about productivity measured over a longer period. If I force myself to code when not in the mood/feeling/zone...., the end result will contain inefficient or cumbersome code and will certainly be more buggy and harder to grasp mentally. In the end the debugging will take that much longer.

      And, interestingly enough, the big eureka moments in writing my now two year project, were after I had switched to something completely different for a week or even longer. It gives brain time to jump out of the rut and to gain a fresh perspective on problems.

    30. Re:I'll play Devils Advocate here by jwhitener · · Score: 1

      Bad analogy. Thinking jobs are completely different from manual labor.

      And even breaks aren't often real breaks. If I am working on a tough problem for 4 hours, coding, researching, analyzing results, etc... and then go to lunch, it's pretty much a guarantee that I will be thinking about the problem while eating.

    31. Re:I'll play Devils Advocate here by Anonymous Coward · · Score: 0

      I don't hire gardeners by the hour. I hire them to perform a task. I'd personally prefer if they were only there for 20 minutes rather than 20 hours, as long as the result meets or exceeds my expectations.

    32. Re:I'll play Devils Advocate here by Anonymous Coward · · Score: 0

      If you pay your gardener to do your gardening and he does your gardening in half the time should you pay him half his wage?

      If my boss puts down three projects for me to complete by the end of the week and I have an "awesome coding day" and get em all done by Tuesday should he with hold 60% of my pay?

    33. Re:I'll play Devils Advocate here by Anonymous Coward · · Score: 0

      Paying someone by the hour is just a heuristic for determining the compensation for a task that has unknown complexity.

      We don't know how much a given web design task entails for the consultant so we agree to "pay by the hour." We make the assumption that the difficulty of a task correlates with time spent on it. The bigger the job, the more hours spent, the bigger the pay.

      Gardening tasks are much more predictable than programming tasks. "Removing the weeds" is more defined than "optimize the site for IE6." Also, the talent disparity is much less in gardening than in programming. Its hard to find a gardener that will garden 10 times faster than his colleague. In programming, such difference is the norm.

      Therefore, if the gardener only works half the hours its likely that his output will be less than expected. For information workers, like programmers, the output can actually be better with less time spent. Or it may be bad no matter how much time spent. The point is the "pay by the hour" heuristic is not the best in this case.

    34. Re:I'll play Devils Advocate here by Anonymous Coward · · Score: 0

      I'll never work for a company that uses PSP. It's incredibly demeaning and micromanaging. I read the book written by the guy who invented it and I can't imagine how awful that man would be to work for. The day my boss gives me a stopwatch to measure my work time and a log to keep track of it is the day I find a different job.

    35. Re:I'll play Devils Advocate here by Anonymous Coward · · Score: 0

      Because you are confusing hourly wages and salaried work?

      Programmers, at least employed ones, are salaried, they are paid to complete the jobs put before them, not to churn code hour on hour.

      A gardener, is likely paid hourly, they are paid for how many hours work they put in. Some gardeners may be paid a set price, a salary, in which case as long as the job gets done it doesn't matter if they take a 20 hour break, you already agreed to the price to GET THE JOB DONE, if it's done, wheres the problem.

    36. Re:I'll play Devils Advocate here by AthanasiusKircher · · Score: 1

      Is it okay for you to hire a gardener for 20 hours of work and have him actually work 10 hours and take a break for 10 hours?

      Bah. This is the problem with the concept of an "hourly wage" in general. It really only makes sense on a production line, where all workers have to work at a particular rate and thus all are forced to work with equal efficiency.

      A lot of people here are responding that being a programmer is different... or doing something creative is different... etc.

      Total BS. The vast majority of tasks can be done more or less efficiently, and thus an hourly wage is nonsense for most tasks, whether programming or gardening.

      Case in point. In the mid-90s I worked very briefly for a cell phone company collections department one summer after high school. The place was a disaster. After about a week, I had already figured out a dozen shortcuts to make my job quicker and easier. When my supervisor came over to monitor a few of my calls, she saw windows flashing briefly on the screen after a few keyboard shortcuts, and I was completing accounts in ridiculous amounts of time. She asked me what the hell I was doing -- I explained it to her, and then she implemented a few of the shortcuts across the department.

      Even so, I kept finding ways to be more efficient (I was bored, and we weren't allowed to websurf), so I was handling 3-4 times as many accounts in one day as most people. One of my boss's boss's bosses even stopped by my desk one day to compliment me. That's all the reward I got.

      Yet all the workers were all getting the same hourly wage. Is that "okay"? All was going well until one day I skipped my lunch break and then took a 17-minute afternoon break, instead of 10 minutes. The next morning, my supervisor told me that my name was on a company-wide email about people taking breaks that were too long. I explained that I missed my lunch break, so the company actually got more hours out of me, but it didn't matter.

      Meanwhile, I had been switched to collecting very delinquent accounts, which often made no money and which were often just sent out to collection agencies (or consisted of major screwed up messes that I had to contact people in 3 departments to figure out what had gone wrong months back).

      Point is, even though I was processing 4 times as many accounts as the average worker, I wasn't bringing in as much money as everyone else.

      My boss came and told me that, and said it needed to change. The next day I told her I wouldn't be coming back to work.

      What should you be paid for? The number of hours you sit at a desk? The number of hours you actually work? How much you actually get done? How much money you bring in? You ask what appears to be a basic question, but it gets into the fundamental questions of economics.

      By the way, that collections department was shipped out to a third-party company a couple months after I left. And the whole company folded within a couple years. Coincidence?

    37. Re:I'll play Devils Advocate here by Anonymous Coward · · Score: 0

      I try not to hire a gardener to write software. Nor do I hire a computer programmer to do my gardening (have you seen what they do to hedges?)

  64. Am I normal or stealing? by Mike_K · · Score: 1

    Both!

  65. Re: How Many Hours a Week Can You Program? by Anonymous Coward · · Score: 0

    15 hours/week is pretty typical, given meetings, bio-breaks and other interruptions. I've been on a TSP team (stop-watches, dashboard, etc.), and while it helped (greatly!) to get us to CMM Level 4 in record time, it also clearly showed that even the most-productive of us could only manage 18-20 hours without totally burning out.

    Whether or not Facebook, etc., is a good use of your time (and company's budget) is between you and your boss. If you're getting the work done and it is of high enough quality, good job.

    If you're interested in TSP, check out the SEI web site at Carnegie Mellon University. Like I said, been on a team, leading several such right now, and I was the govmint babysitter for a contractor team. TSP is painful, but worth it.

  66. Discipline by exes · · Score: 1

    Maybe you need more discipline.

  67. Re:Spend three times as much time testing and usin by Aeros · · Score: 1

    hmm Anonymous Idiot. What does that post have to do with the original question? Also you do know that most programmers don't have a clue about design right?

  68. My experiance by wisnoskij · · Score: 1

    I have only had one job that was mostly just programming.
    In that job I would come into work in the morning (9:00) take a few minute lunch break and leave at 5:00pm, otherwise it was siting in front of a monitor coding.

    In general I would say, as long as you enjoy your work and want to be a good employee, you should work 95-99% of the work day, excluding designated break times.

    --
    Troll is not a replacement for I disagree.
  69. You should have learned that in elementary school by AlgorithMan · · Score: 1

    24*7=168 DUH!

    --
    The MAFIAA is a bunch of mindless jerks who will be the first up against the wall when the revolution comes
  70. if you spend too much time typing... by Lazy+Jones · · Score: 1

    ... you're doing it wrong. The hardest problems can be solved while waiting for the coffee machine to fill your cup. If your programming work requires too much typing, you're using the wrong language/tools or you can probably be replaced by a Perl script.

    --
    "I love my job, but I hate talking to people like you" (Freddie Mercury)
  71. When working on things for more than a paycheck... by Anonymous Coward · · Score: 0

    I can code like a freaking monkey for days without sleep. Its all about art, and applying some science to it at the same time to get folks to buy into what you are doing. I have gone 8 days without sleep in the past writing device drivers, and at some point the code reflects the sleep deprivation level. Sleep, oh sleep, what is that? Its that thing that gets in the way of success.

  72. Depends on the code domain by Chirs · · Score: 1

    Basic stuff where I have a good knowledge of the domain is one thing. It's easy to be productive in that sort of environment.

    Really low-level stuff where I'm dealing with bits and register offsets in obsolete spaghetti code in an OS that I'm not familiar with for unfamiliar mission-critical hardware ...I can't concentrate for more than half a day or so at a time.

  73. It's not a fixed number by Locke2005 · · Score: 1

    You can program for 80 hours a week, but you cannot do that for too many weeks in a row. If you tend to write code in spurts with lots of down time in between, then I'd say you're pretty normal. I also believe good managers realize that writing code is not a steady, 9 to 5 thing.

    --
    I've abandoned my search for truth; now I'm just looking for some useful delusions.
  74. To Code or To Develop by Alanbly · · Score: 5, Insightful

    If you're actually writing code more than 50% of your time you aren't thinking enough to warrant anything beside grunt programmer work. Good solutions require research and thought and if you aren't thinking and just coding, you're writing sub-standard code. That said if you aren't architecting anything, if you aren't actually designing solutions, there's no reason you can't stay on task for 40 hours, plenty of people do.

    Personally, I'm of the mindset that good solutions need to percolate. So I'll keep multiple projects going at any given time, and break up the work an any one of them to minimize true down time, and read slashdot during compile/debug cycles. But that's just me.

    --
    -- Adam McCormick
    1. Re:To Code or To Develop by Anonymous Coward · · Score: 0

      Then again, if one is familiar with refactoring and design patterns, less planning is needed up front. Writing good OO code and refactoring when needed is the way to go. For example, if you need to write a Square object and think you might need a triangle object later on, don't write a base class called polygon. Simply write the Square class. And when the Triangle class appears, then and only then make a base class.

      We've followed this practice for many years and it has saved alot of time. The only thing planned up front were the big hitters. Things liek starting package names and where data files will be located.

      Truth is, this is pretty common for agile developemnt. And with modern IDEs like Eclipse, this is a very easy thign to do.

  75. I think it's not uncommon... by PortHaven · · Score: 4, Insightful

    I always found that I coded in sprints. I could get more accomplished in one sprint than in the three days prior. Programming often seems to be a thing of get stuck on some stupid issue totally separate from logic and design (the aspects of programming I enjoy) and finally getting through that stop gap and getting the rest of the code completed.

    I've also found that many times that sprint occurs around 4pm-5pm (yes, when everyone else start going home). This has convinced me that we'd be better off if we offered programmers the option of working three 12 hour days. Such would facilitate longer sprints, and during periods of times with less distractions.

    1. Re:I think it's not uncommon... by jdogalt · · Score: 1

      +1 (more). Software development to me at least, on my own projects, is a vast complexity with the key aspects being sprints, roadblocks, parallelism(mental multitasking), and continuous learning.

      For more than 10 years now, twitching out to slashdot or a google search of some random technical thought, has been an integral part of my routine. These 10 years of osmotic educational soundbites, are what I believe enables me to be about 100X more efficient than a fresh grad, at producing solutions for really difficult problems.

      So I'll often hit nuisance roadblocks that thwart my productivity for a while (maybe a week even). And during those times, I'll start exploring and researching other aspects of other problems. Maybe some project that I know is vaguely on my - down the road in 3 months radar. Then, after several education tangents like that, and a dozen or two slashdot/googlenews twitches, even a few nights of sporadic electrochemical semi-random brain firing, I'll hit upon the solution to the roadblock. Or maybe I'll circle around the roadblock like a predator stalking its prey, maybe making a few false starts before actually making the successful kill strike. Then, having gotten past the roadblock, and having filled my brain with a weeks worth of fresh ideas and education, I'll make a 16 hour or 3 day sprint, that feels as if it is more an accomplishment than many entire months of work.

      Dunno. I'm not all that successful money wise and employment wise, but I'm extremely happy with my open source accomplishments. But that's just me, I have no idea if I'm the norm or the exception.

    2. Re:I think it's not uncommon... by tobiah · · Score: 1

      Ya, I work a 10-7 schedule, and most of my coding happens after 4, when the place quites down. 5days x 3 hours, yup, sounds like 15 a week.

      --
      "The ability to delude yourself may be an important survival tool" - Jane Wagner -
    3. Re:I think it's not uncommon... by Anonymous Coward · · Score: 0

      When coding a medium sized project management application for a small company (3months of work, including research, 1 person project). I found myself often taking half hour breaks between components.
      I'd work on one module, finish it, do some testing and then take a break before beginning on the next.

  76. When did UML become "orthodox"? by Anonymous Coward · · Score: 1, Insightful

    Let's see... Since the 1950s, we've been writing applications using text-based programming languages. All serious development is still done like that today.

    Now, in the 1980s and 1990s we did have some fools who couldn't program worth a damn come along and preach to us about how we could draw some rectangles and diagrams and *POOF* we've have applications. We tried their ideas, saw that they were fucking stupid and just didn't work, and then we laughed them out of the building.

    The "orthodox" way of developing software is to write text-based code by hand, line by line, until the job is done. UML is actually the antithesis of orthodoxy; it's about throwing out the orthodox method in favor of a technique that just doesn't work (but you do get lots and lots and lots of pretty pictures out of it).

    1. Re:When did UML become "orthodox"? by AuMatar · · Score: 3, Informative

      UML isn't a programming language. It's a way of drawing out an architecture. There's some tools out there that can convert it into code (which is trivial really) that some PHBs think are the best thing since sliced bread, but most use of UML is to show interactions between classes in quick freeform drawings. And very few of those use strict UML- they tend to be the same handwavey drawings we've been doing on legal pads and whiteboards for 30 years.

      --
      I still have more fans than freaks. WTF is wrong with you people?
    2. Re:When did UML become "orthodox"? by Hognoxious · · Score: 1

      UML isn't a programming language. It's a way of drawing out an architecture.

      Maybe that's why GP described it as "a technique that just doesn't work (but you do get lots and lots and lots of pretty pictures out of it)."

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    3. Re:When did UML become "orthodox"? by ppanon · · Score: 4, Interesting

      UML isn't about programming. It's about documentation for large projects that require division of labour. It's about specifying functionality for communication between business experts and the people who get the work done. It's about getting the big picture without having to pour over the whole picture with a magnifying glass (i.e. reading the source code).

      Seriously, I might consider contributing to more open source projects with bug fixes if it didn't involve scanning though megabytes of code first to narrow down the source of the problem.

      Something that I think Sourceforge or an equivalent repository system really needs is a tool for reverse/round-trip engineering UML diagrams of the projects it contains (i.e. identifying how/where code restructuring affects UML documentation and supporting the update of that documentation). One reason why nobody has actually tackled this may be that Sourceforge projects may contain various combinations of Java, C++, python, C, PHP, perl, etc and UML really works best with object-oriented languages.

      --
      Laissez lire, et laissez danser; ces deux amusements ne feront jamais de mal au monde. - Voltaire
    4. Re:When did UML become "orthodox"? by Anonymous Coward · · Score: 1, Interesting

      UML can be a programming language. It is used in model based software development, which is still mostly an academic discipline, but working its way into industrial applications. The scope is often limited to an application specific language with a classically developed framework or code generator in the background.

      One of the problems of classic development is that there is no way to express complex high level interactions in a way which is tied to the actual code. The result is that developers take a long time to familiarize themselves with the architecture by reading "prose" specifications or documentation. That inevitably results in an incomplete picture and diverging perceptions between developers, a problem which is amplified by changes to the specifications, which then also tend to divert from the actual implementation. Over time this creates bit-rot and the code base becomes rigid and unmaintainable, often prompting rewrites.

      UML wants to be that high level language, and to fulfill that promise it has to be used as an actual programming language, from which executable code is produced.

    5. Re:When did UML become "orthodox"? by DrInequality · · Score: 1

      Except for the fact that UML is for people who can't program!

    6. Re:When did UML become "orthodox"? by tomhudson · · Score: 1

      Except for the fact that UML is for people who can't draw!

      Because that's what it is - like an etch-a-sketch for adults.

      It's one more layer of mis-communications and stuff that never stays in synch anyway. If you have time to draw pretty diagrams - DO THE REAL DOCUMENTATION INSTEAD.

    7. Re:When did UML become "orthodox"? by Anonymous Coward · · Score: 0

      Hey,

      Cool idea. This would be nice if it could be integrated into Launchpad.

    8. Re:When did UML become "orthodox"? by SanityInAnarchy · · Score: 1

      And IMO, digraph (from graphviz) is quicker if it has to be digital or pretty, and whiteboards are quicker still.

      --
      Don't thank God, thank a doctor!
    9. Re:When did UML become "orthodox"? by davide+marney · · Score: 1

      Posh. Clearly you've never used a UML modeling tool that knows how to handle metadata. The tool I use can read in a database schema and draw you a perfect visualization with everything included: attributes, data typing, triggers, keys, relations, you name it. And that's just the start. UML 2.x ain't your grandpappy's modeling language.

      --
      "We receive as friendly that which agrees with, we resist with dislike that which opposes us" - Faraday
    10. Re:When did UML become "orthodox"? by tomhudson · · Score: 2, Insightful

      So can my stack of 4x6 index cards. It might be old school, but it works, and I can wrap a rubber band around the stack, throw it in a drawer, and forget about it until I need it.

    11. Re:When did UML become "orthodox"? by Hognoxious · · Score: 1

      Actually it did make it into commercial use. CASE was quite trendy in the 1990s. Then people realised it generally sucked.

      From what I've read, model based/driven development is little more than CASE warmed up.

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    12. Re:When did UML become "orthodox"? by Anonymous Coward · · Score: 0

      One reason why nobody has actually tackled this may be that Sourceforge projects may contain various combinations of Java, C++, python, C, PHP, perl, etc and UML really works best with object-oriented languages.

      Object-oriented languages such as Java, C++ and Python perhaps?

    13. Re:When did UML become "orthodox"? by ppanon · · Score: 1

      When you start taking your 4x6 cards, scanning them, and sharing them on the same server as your source code repository so that anybody with access to the latter also has access to the former, then we can compare. Otherwise it doesn't do anybody else any good when they are in your drawer, especially in a distributed project with contributors across the world.

      --
      Laissez lire, et laissez danser; ces deux amusements ne feront jamais de mal au monde. - Voltaire
    14. Re:When did UML become "orthodox"? by ppanon · · Score: 1

      It's one more layer of mis-communications

      When you're talking about understanding the (directed graph) dependencies and object structure in a complex application system, the best means of conveying that information is, believe it or not!, graphical.

      and stuff that never stays in synch anyway.

      I guess you missed the part where I mentioned using a tool that does reverse/round-trip engineering and having it integrated into the source control system. I'm not taking about Visio diagrams with UML templates that are created once and never updated.

      --
      Laissez lire, et laissez danser; ces deux amusements ne feront jamais de mal au monde. - Voltaire
    15. Re:When did UML become "orthodox"? by Anonymous Coward · · Score: 0

      For the Apache Foundation projects, the wide majority are in Java, with some using non-OO languages like C, JavaScript, or Perl. But what percentage of SourceForge projects do those languages cover vs. projects written in C or procedural/modular PHP or perl? What about a typical Linux distribution like Redhat or Debian?

    16. Re:When did UML become "orthodox"? by tomhudson · · Score: 1

      When you start taking your 4x6 cards, scanning them, and sharing them on the same server as your source code repository so that anybody with access to the latter also has access to the former, then we can compare. Otherwise it doesn't do anybody else any good when they are in your drawer, especially in a distributed project with contributors across the world.

      You can have my 4x6 Entity-Relationship-Attribute index cards when you pry them from my cold dead hands.

      In the meantime, it prevents every "idjit" from adding yet another field/table/broken relationship to the database - and that is a Good Thing. It's also a hard-copy backup, which even today we still need. And it uses that great interface - the pen. Think of it as "pen computing 1.0" - it just works. And it's a lot easier to shuffle through a card deck than it is to scroll all over the place on-screen. 2 decades later, diagrams still suck.

      Some people over-normalize. Some people under-normalize. Some people create insane relationships "because they can".

    17. Re:When did UML become "orthodox"? by tomhudson · · Score: 1

      No, I don't believe it. Because those diagrams ultimately end up with lines all over the place, looking like circuit board traces. If you can't explain it concisely in text, perhaps you need to work on either your naming conventions or on making things more modular. Managing complexity by having that complexity reflected in complex diagrams doesn't work.

  77. I generally enjoy my job and... by RalphTheWonderLlama · · Score: 1

    I enjoy my job. I have many roles now even though my primary role is supposed to be programmer/developer (I'm the only one in a small company so I do it all). So I do get annoyed when I have to do unrelated and unexpected things sometimes, such as random reports (every single one is different and you have to go back to them to get the actual requirements), or managing one part of our business etc. When I am programming though, I'm into it and can go for quite a while. I'm sometimes into it and look at the clock and it's 5 o'clock, whoa how did that happen. I need to get to a good place to stop so there aren't a dozen hairy untested things out there that might give me a headache the next day when I get back into the flow of it. If it's a big project I can definitely put in some hours. The fiancee isn't too nice about that though.

    Anyway a lot of the previous comments are right on. If you're interested by what you're working on it's easier. Personally I can motivate myself to work on a project even if it's not my idea or interesting in any way, and then once I'm into it, it's ok and I want to get it right. When I am interested by it or I'm working on my idea it's similar but I'm already motivated. I also get slowed down by interruptions and the flow matters as another poster described. Interruptions take me out of my focus and the flow of things I'm working on. Sometimes you have to keep track of a lot of stuff in the back of your head while working (outstanding unknowns or you have to keep track of everything you have to update because it had a dependency or something else you changed, or you have to remember you changed something and there might be lots of dependencies you have to check on still).... so when that happens frequently, I go a lot slower and end up coding less. I also do a little web surfing in between these things sometimes. When I'm going though, it can be for long stretches. Sometimes I wear headphones and sometimes I don't. Sometimes the person next door in the office who is on the phone frequently and has Rush Limbaugh going on the radio annoys me and sometimes not. I do put the headphones on often if I know I really need to focus on something like if I'm in the middle of coding something difficult or I'm starting a project and need to do some careful planning.

    I'm guessing you actually work more than 10-15hrs, that is just programming time. That's probably ok. I might have a problem with myself if I worked less than half the time I was at work. That could be a reason to be looking for another job. If you have time, start your own project! If you really aren't bothered by it, work on it during work too. I have lots of things I really want to work on but frustratingly don't have the time.

    --
    simple, fast homepage with your links: http://www.ngumbi.com/
    1. Re:I generally enjoy my job and... by RalphTheWonderLlama · · Score: 1

      Oh yeah, by the way, I just finished a couple week long project so right now I'm happy about that and taking my "reward" surf time :)

      --
      simple, fast homepage with your links: http://www.ngumbi.com/
  78. Demotivational Poster by themightythor · · Score: 1

    INCOMPETENCE
    When you earnestly believe you can compensate for a lack of skill by doubling your efforts, there's no end to what you can't do.

    In other words, assuming that you're paid a salary (as opposed to an hourly wage), they're paying you for an output, not for time. If you can accomplish the tasks set before you in 10 hours, then the other 30 that you're mandated to be there by your manager are yours. Of course, a good manager will give you more work because they underestimated your abilities. And a wily employee will then ask for correspondingly more pay. But that's the circle of life.

  79. Anything sucks when done for a living by broknstrngz · · Score: 1

    My past few years' experience was something like this:
    1.Middle management is asked to give a time frame estimation, which they make as small as possible, to please upper management.
    2.About 80% of the guys in the office work for 12-16hrs a day, even though their contract is for 8hrs, to please upper management.
    3.Regardless of the quality of your code, they always get better appreciation than you do, because you go home to your family while they don't, since they don't have one, or hobbies, or whatever

    I've drawn a few conclusions:
    1.Size does matter. The guy working the most hours always wins, even if only for the fact that he is more available than you are.
    2.This isn't a job I want for the rest of my life.
    3.If you really like doing something, don't turn it into a job. Sooner or later you'll hate it.

  80. Depends on the Project by LorenVS · · Score: 1

    It really depends on what you're programming. Most of the projects I've worked on are similar to what you describe, intranet and web applications, which I find quite easy to put long days into. You need the occasional short break to re-focus, but if you're at work for 8 hours a day, at least a good 5 or 6 of them should be spent actually getting your job done. On the other hand, there are certain projects that can feel like they have been created for the sheer purpose of poking millions of tiny holes into your brain. Reverse engineering, memory tracing and some forms of debugging (to name a few) can just rip away at your sanity if you try and work at them for 8 straight hours. That being said, I tend to find that these sorts of projects also put your brain in a certain state where continuing is pretty much all you're good for until a good night's sleep. After reverse engineering file formats or network protocols for a day, the only thing my mind can actually focus on when I get home is continuing with the same project. So I suppose I end up putting in longer days some times, just with bigger (if less common) breaks...

  81. Not a problem by Anonymous Coward · · Score: 0

    I can easily code 40+ hours a week. I did much more when I was a grad student.

    The trick? TAKE BREAKS.

    I've been known to disappear for an hour at lunch to jam. Really helps clear the head.

    And stop when your code no longer makes sense. If you start to crap out at hour 12, but you keep going until hour 17, you'll spend much more than that extra five hours fixing all the bugs you made.

    I also believe it's a huge error for anyone to code to the exclusion of other parts of the process. A decent rule of thumb is that you'll spend half your time between testing and designing or analyzing. Decent design paradigms do not consist of doing all the design up front; this is doomed to fail. And code monkeys tend not to have the "big picture" in mind, which can lead to a lot of wasted time, and confusing or inappropriate code.

  82. Both by Anonymous Coward · · Score: 0

    Am I normal or stealing?

    Your MO isn't unusual; Dilbert's Wally isn't pure fiction, you know. Yes, you are lazy, there are people who are smarter than you, who are willing to work harder than you. Luckily, your boss isn't so swift either, so you probably don't need to worry too much.

  83. Maybe You're Like Me? by kid+tested · · Score: 1

    A lot of my coding time happens in bursts. The process tends to go like this:

    1. Look at a requirement and invent a strategy for implementing it.

    2. Start writing the code.

    3. Run into an issue that will require significant refactoring.

    4. Plan a refactoring that will solve the issue.

    5. Take a break. The break is required for stepping back and getting a big-picture view of how the refactoring will affect code quality. If the refactoring is large or complex, the break might take hours or even days. I might have to switch projects for a while.

    6. Evaluate whether I am still happy with the planned refactoring. If I am not happy with it, go back to step 4.

    7. Refactor and commit.

    8. Write more code until I finally solve the original requirement. I may have to go back to step 3.

    I don't know of any other way to maintain code quality. When I was a newbie coder, I painted myself into a corner fairly often by creating code so complicated that I was not smart enough to fix or improve it. Today, I recognize the limits of my brain, so I spend a good deal of time pondering how to simplify code and then simplifying it. That is the only way I know to remain productive.

  84. It probably depends of what your needs are by Anonymous Coward · · Score: 0

    /me does 40-80 dev-hours/week... Full time as a c++ programmer, and in extra time as an managed c++ and php programmer. In my free time, i'm doing some Amiga coding. Rest time is for my Wife :). Well - welcome to Poland :)

  85. Re:I'll play Devil's Devils Advocate here by Anonymous Coward · · Score: 0

    See, there's the damn problem. "Hours." Why even hire a gardener for "hours" instead of hiring them for "the job."

    Look at it like this, I need my hedges trimmed, flowers planted, weeded and watered, walkway trimmed, and my blue grass planted. I don't care how long you take to do it, but I feel that doing all that work is worth X$ to me me. It takes you 10 hours solid, great, if you think X$ is worth your time then take the job. If it takes you 20 hours with 10 hours goofing off, again, AWESOME, if you think it's worth it to you then take it. If you do a great job I'll come back to you, if your performance is sub-par I'll start looking for another solution.

    But if I hire a gardener for 20 hours at X$ per hour to do...stuff...then we've arrived at the terrible model that most companies use for employees. That's probably why many IT positions are salary for full time employees.

    Also, what about quality of work in those hours? I *know* I can do more in 2 hours than many people can do in 4, or even 6 hours. But we get paid pretty much the same at the end of the week...is that fair? I can turn out 500 *quality* units per hour and you turn out 250 can I work 4 hours and stop or do I have to work 8 hours too to get the same pay? How many places even have metrics to determine work levels such as this, and how expensive is it to implement those metrics in the first place?

    And time itself...well let's not even get started on that highly controversial and relative subject...

  86. Comment removed by account_deleted · · Score: 2, Interesting

    Comment removed based on user account deletion

  87. How Many Hours a Week Can You Program? by __aahgmr7717 · · Score: 1

    There is another downside that I just realized.
    For quite a number of years my feet have been bothering me.
    I think I have found the answer. Too much sitting!
    I spend at least 8 hours a day at the computer sitting.
    I have recently tried standing while typing (I am doing that now)
    and the feet are slightly better. I believe the circulation to my
    legs is restricted by constant pressure but then it probably
    depends upon the "mass of the ass". I am quite thin,
    weigh 142lbs and so do not have too much padding.
    But this should be a general phenomena so recommend that
    you frequently get up and walk around. I am in fairly good
    shape for my age since I walk/run at mile a day. But the
    sitting undoes that good work.

  88. Take this advice from a corporate veteran by melted · · Score: 1

    I sense inexperience in your question so here's what you will learn as you progress in your career:
    1. The only metric that has a direct effect on your compensation is your performance review. Like in that joke about two men and a hungry bear, you don't need to run faster than the bear. You need to run faster than the other guy, which in practical terms is not that hard to do. Optimize for a good review score and you will do well.
    2. It is not possible to code anything technically complicated for 40 hours a week for any extended period of time. Anyone who tells you otherwise is either lying to you, or they do the kind of job that a Perl script could easily do instead.
    3. Most people around you aren't as smart as they seem. They too screw up and make mistakes and goof off at work. You'll see it eventually.
    4. Most people around you work about as hard as you do (which means they too spend 15 hours a week coding, at best).
    5. Innovation and creativity trump the 40 hour work week requirement. If your output is worth it, your employer will be happy. If not, even 60 hour work week won't make up for its deficiencies.

  89. When you are highly motivated by ModelX · · Score: 1

    Several times, when I was highly motivated on exciting new projects I was able to code for about 120 hours for 2-3 weeks. That would be 7 days per week, 4 hours of sleep, minus mealtime, teatime and shower time. But thinking back, a lot of the code produced was crap, it was basically a joyride implementing what seemed to be a straightforward approach and enjoying a lot of incremental results.

    These days I prefer to plan for 3 hours of coding a day with most of the time spent on meetings, learning, planning and a lot of contemplation about the easiest approach to implementation. It's funny that just sitting on a couch meditating about simple solutions often produced ideas that made me implement solutions in days that other programmers would take months.

    1. Re:When you are highly motivated by Garridan · · Score: 1

      This is one nice thing about working on open source software. Somebody implemented something in a project I work on two years ago, when I didn't want to. The other day, I found a bug in it. After a few hours of thinking hard about the problem, I fixed the bug, and made the thing about ten thousand times faster. Had I written the original code, it'd have been the same as the original author -- but since I waited until inspiration hit, the result is much better.

  90. Re:Wow. Bitter much? by Civil_Disobedient · · Score: 2, Insightful

    If the project gets done, done right, on schedule - why would you care about anything else?

    I agree. Where I work the head of IT moved up "from the ranks" and even lends a hand fixing bugs in the code when he gets a chance. But he knows his primary job is basically to run interference. I've seen it--it's ugly. Lots of time spent on the phone, hashing out specifications and requirements in looooong, boring-ass meetings. No thank you. And when things get to us, he trusts us to leave us to our devices and get the work done on time.

    It's a pretty good trade-off.

    To answer the original question...

    How many hours a week should a full-time programmer program?

    Should? I would say the answer is that there is no answer. What you should or I should do varies greatly depending on our personalities, our likes and dislikes. I like to build things. I enjoy solving problems. 40 hours a week doing what I enjoy is easy.

  91. Re:Wow. Bitter much? by Anonymous Coward · · Score: 1, Funny

    Oh, and by the way, I'm on my daily 10 minute break. Back to actual work for me. Have a nice 8 hour day doing.....whatever it is you do.

    You sound terribly mismanaged, and understandably a little bit bitter about it.

    The other possibility is that he's full of it. So he's chained to a computer all day long with just 10 minutes of break, and he decides to spend those 10 minutes surfing slashdot? Yeah.

  92. Upper Limit by rssrss · · Score: 1

    168 hours would seem to be kind of a hard upper limit.

    --
    In the land of the blind, the one-eyed man is king.
  93. When I was programming.... by Kickstart70 · · Score: 1

    ....we used two rocks to beat binary into each others heads. Uh, I mean... When I was programming, which was about 75% of my job, I'd say that of that 75%, 50% was actual programming, but in that I include mapping out the next planned code to be written and doing pseudo-code and documentation to make the next task easier. The other 25% of the day was meetings of slacking/research.

  94. normal by Anonymous Coward · · Score: 0

    normal

  95. 13 by ml10422 · · Score: 1

    We've been using a new methodology at work where we keep track of the hours of actual productivity, not counting all the distractions. I get an average of 13 hours in per week.

  96. Sprints by Anonymous Coward · · Score: 0

    During the core business day, I am interrupted every 5 minutes by something or someone. Programming sprints used to be 5PM past midnight, when it was finally quiet and I could concentrate. Since the PHB wants his minions in their cubicles at 9AM, that ends up being some crazy hours, most of them wasted.

    Three 12 hours days would be heavenly. They'd get so much more for their money and I could have a life.

  97. Looking busy when you're not in the zone by Anonymous Coward · · Score: 0

    Coding is definitely one of those things you can only do when you're "on". If I am having a bad brain day (hung over, not enough sleep, whatever), I know I am not going to be very productive, so I work on other tasks, like writing documentation for the code I would otherwise be writing, catching up on client phone calls, etc. Fortunately, I am my own boss, so I don't get micromanaged. In the end, everything works out fine. I figure I spend maybe 20-25% of my time writing code, and the rest doing something else. Since I know I am not really going to be in the mood to code most of the time, I make a point of setting aside work in other areas so I have something to do when I am not going to be productive coding.

  98. Mind Body Connection / Tapping the Unconscious by Niobe · · Score: 1

    I can do a couple of weeks of 80 hours each no problem. After that I'll need a couple of days off. But I just can't do this if I am not looking after my physical well-being. That means eating well and gym workouts every second day. As other people have said you also need be interested in the project and be in 'the zone' a lot of the time. That requires minimal distractions. As an aside, others have mentioned you can't write QUALITY code working long hours. Well, not exactly true. Provided you realise when you're rushing a solution and are willing to put it aside until the next morning, you will find your unconscious mind can come up with some elegant solutions while you sleep. Not kidding, try it. And this just in, science agrees.. http://fora.tv/2009/08/11/Matt_Walker_Secrets_of_the_Sleeping_Brain

  99. The answer... by MacGyver2210 · · Score: 1

    42

    --
    If the only way you can accept an assertion is by faith, then you are conceding that it can't be taken on its own merits
  100. just coding? by Anonymous Coward · · Score: 0

    I unrolled an infinite loop in assembly once. Let me tell you, I was a typing machine until that BSOD. That bumped up my personal best to just under 30 minutes.

  101. Re:Wow. Bitter much? by Psiren · · Score: 1

    Doesn't matter if he plays Tetris 39 hours a week. If the project gets done, done right, on schedule - why would you care about anything else?

    I understand what you're getting at, and obviously you're using an extreme example, but if you have somone "working" for you who is spending that much time not working, you're drastically underusing your resources. Either that or you have too many people for the workload.

  102. Stupid analogy by BitHive · · Score: 1

    You wouldn't hire a painter and then stand next to him with a stopwatch adding up the amount of time his brush spends in contact with the canvas, would you?

    1. Re:Stupid analogy by PPH · · Score: 1

      It took Michelangelo 4 years to paint the Sistene Chapel ceiling. If he would have used a roller, it would have only taken him 3 weeks.

      --
      Have gnu, will travel.
  103. It's the context-switching that kills me by rawler · · Score: 3, Insightful

    I'm experiencing something similar, although, I must say it's not the "coding" that kills me, but the amount of context-switching I'm forced to do on a daily basis.

    First, just let me explain my work. I'm the only developer in a technical department of 15 people, in a small local branch of a much bigger company. As such, I serve both various developing needs of my local department, as well as other departments in my branch, most support-systems for first, second and third-line support staff, as well as a multitude of network partners. Except for the development duties, there's an emphasis on last-line support, IP-networking, and product management.

    What I've discovered, is that the single largest mental challenge for me, is being forced to radical context-switches, often without advanced warning, and many, many times a day. One minute, I may be working with low-level IP-protocol-debugging in hex-dumps and bit-masks, and 5-minutes later supporting the operational staff with ongoing database-issues, 15-minutes later forced into a spontaneous meeting about human-resources content-managment problems in the customer-support systems, being interupted by another scheduled meeting about conceptual architecture and product management.

    All the individual context-switches is what really hurts me. I've reached a point when whenever a colleague shows up, or whenever the next bug is in a different system than the last, I almost experience physical pain, and mental pictures of a harddrive about to give up, trying to chug in those long-gone swap-pages.

    You mention "maintaining a couple of dozen web apps"? Even if the technologies may or may not vary much for you, is it possible that the context and nature of the different apps are much varying, giving you a similar problem to mine? That is, forced to "switch project" often, and spending a lot of time and energy on trying to remember the relevant details for the next bug on the list?

    Otherwise, when circumstances allow, I try to work from home, turn off the cellphone and shield myself off, in order to concentrate on that specific project. With all the context-switching gone I usually don't have a problem spending at least 25-30H/week doing serious "coding" (including design. development-oriented QA, test-cases, careful versioning), more for mundane typing-heavy projects, and less for more demanding designs, either due to unusual requirements, really tricky algorithms, or simply big complex stuff.

    For challenging projects however, there's certainly a "burstiness" to the productivity. Some problems simply needs to be processed "offline" for a while, before they can be solved, but I think that goes for any mentally challenging activity for anyone. Most people I talk to tells me that they solve problems best while sleeping, so maybe you should find someplace to hide for a nap during the workday? ;)

  104. your just lazy.. by Anonymous Coward · · Score: 0

    i'm a CTO and i do at least 30 hours a week programming. if my developers only did 15-20, i'd fire them.

  105. Why aren't news articles computer generated? by rwade · · Score: 1

    All that a newspaper reporter does is collect facts, determine if they are reasonable, and format and contextualize them. Why haven't they been replaced by computer programs?

    1. Re:Why aren't news articles computer generated? by PIBM · · Score: 1

      never saw google news ?

    2. Re:Why aren't news articles computer generated? by rwade · · Score: 1

      google news doesn't write the articles.

    3. Re:Why aren't news articles computer generated? by TapeCutter · · Score: 1

      "format and contextualize them"

      I can't spell to save myself but I think you misspelt sensationalize.

      --
      And did you exchange a walk on part in the war for a lead role in a cage? - Pink Floyd.
    4. Re:Why aren't news articles computer generated? by dudpixel · · Score: 1

      it does do what your post asked for. However if you want computers to report on what they see, well first you need them to be able to see.

      --
      This seemed like a reasonable sig at the time.
  106. Stealing by Anonymous Coward · · Score: 0

    Get back to work!

  107. Mod parent up! by Anonymous Coward · · Score: 0

    This is totally true. If you don't get any exercise, and your energy levels are low, then sustaining decent amounts of programming in a work-week is almost impossible.

    This is why, when I moved to a new city a few years ago to take a programming job, I made a point of finding an apartment about 3km from work, and I walk to work and back almost every day (about once a month I take a cab instead). So I get something like 30km of walking a week just walking to work and back. Its not much exercise but its a damn sight better than nothing.

    If you're out of shape and can't figure out how to turn it around, I suggest this:

    (1) buy a cheap bicycle. (2) every Saturday, hop on that bike and ride around your neighborhood for 30 minutes. Just bike to a local park or something, then go back home.

  108. Re:Wow. Bitter much? by Trepidity · · Score: 1

    I don't think it's that linear. If you hassle them more about their Tetris-playing, it may cut into how much they like their job / your workplace, which may lead to exploring other options, and/or being more aggressive about looking for raises. When you squeeze your resources, they often get more expensive...

  109. I can code for 20 hours straight . . . by Anonymous Coward · · Score: 0

    . . . and then my brain falls out of my head and takes three weeks to put it back in.

  110. How much... by Aziabel · · Score: 1

    ... could a programmer program if a programmer could program programs?

    --


    49 20 61 72 65 20 6E 65 72 64 2E
  111. Re:Wow. Bitter much? by Weaselmancer · · Score: 4, Insightful

    No, perfectly serious. Problem is you're assuming a constant workload and a perfect equivalence between workers.

    Although I'm a coder we are often put as "leads" in projects. Think "manager lite". And I did put a guy on a team I was leading who mostly plays Tetris. And sleeps in his cube.

    The thing is - he knows more about the system than I do. Way more. The task I gave him took him an afternoon. Would have taken me two weeks, minimum. He banged it out, it worked perfectly, he went back to his Tetris. I'm happy, he's happy, my manager is happy we made the schedule, the customer is happy.

    We're all happy so I don't see a problem.

    I work more than he does, sure. But only because I have to. I'm not as good. I don't begrudge him one single bit.

    --
    Weaselmancer
    rediculous.
  112. need to get up and walk around every hour by unil_1005 · · Score: 1

    outside of that, about 10-12 hours/day, 7days/week (if my faithful female companion allows me to)

  113. 15 minutes per day by firewood · · Score: 2, Insightful

    If you go by the metric that, in the typical large project, the resulting product ends up with 10 to 100 "lines of code" per person per day, hey, most programmer's probably took about 15 minutes to type that in if you exclude all thinking (reading, studying, daydreaming while unconsciously problem solving, etc.) and meeting time.

  114. What Its Like for Me As a Programmer by Shouden · · Score: 1, Redundant

    After reading this, I felt compelled to compile some of the similar thoughts from here and put together a short blurb on what it's like for me, being a programmer.

    Programming is Mental Sprinting
    Written by: Maxwell Rathbone
    Pieces Compiled from: http://ask.slashdot.org/story/10/04/14/1925218/How-Many-Hours-a-Week-Can-You-Program

    I do find myself writing code in a sprinting fashion. I can always code when it's time, but sometimes I get a burst of speed and clarity that I might not have every single day. I sprint ahead and make up for the days when I'm not so sharp. Many programmers do this. Programming is hard, and it's easy to get distracted. As a programmer, I have honed my ability to focus, almost in a meditative state, while I write code. While I'm in this meditative state, I'll have dozens of pieces of my code visualized in my head, potentially solving multiple 'problems' at once related to the project. I'll also have the overall path of the project and the various smaller tasks I could potentially be working on visualized. Getting distracted while in this state is the equivalent to someone walking up to my mental whiteboard and erasing everything on it. For this reason, when I'm distracted it takes additional time to regain my previous state of concentration and clarity. It takes time to reload into my active thought process all the pieces to the project I'm working on. For this reason, it is imperative to retain my focus while coding.

    I do believe this 'mental sprinting' changes with age. Years ago, coding 12 hours a day for weeks on end was not difficult to pull off. The catch was that a very high percentage of the code I wrote, was either poorly written or bug-ridden and easily could have been written in far less time had I spent more time thinking about the code before I wrote it. As I've gotten older and gained more coding experience, I've found that it's easier to spend a large amount of time contemplating the code, and then writing the code in shorter bursts. The difference is that when I write code this way, far less hours are wasted.

    Our minds naturally work in a cyclical nature. Sometimes I'll get excited about a project or idea and I'll want to work sixteen hours a day on it. Other times, nothing seems interesting. To write quality code and keep my efficiency up, I take these cycles into account. I've discovered they're affected by how I react to them. I keep a cache of easy tasks that are part of the larger project, so that when my mental cycle is at a lull, instead of trying to force difficult code out, I can give my mind a rest and perform easy tasks. Debugging code is great for this. Debugging is as straightforward as most people think programming is. The problem is completely constrained, and all I have to do is troubleshoot it. It's almost relaxing. When my mental cycle is at a peak, I'll perform coding bursts up to 16hrs a day. Generally this does not last more than a few days before I start feeling mentally 'burned out.' By working with these mental cycles, I'm able to keep my coding efficiency as high as possible.

    I do find that with some projects, I can write code like a mad man much more easily. Others are painfully slow dredging, and I have great difficulty focusing on them. There are also times where I'll spend hours looking at a problem and just can't seem to make any progress on it because I have a degradation of clarity in visualizing the problem or best solution. Because of this, it can vary greatly how productive I am when I write code. I could spend 40+ on one of those mad man sprints, or a much more painful 15 hours of slow dredging.

    I've taken all of this knowledge and experience into account and now my plan is, that when I reach 90, I'll just wake up in the morning and fart. My very lengthy and heavily customized script will analyze the fart and translate it into C++. "Oh, boy, I wrote another new Oper

  115. Extrinsic vs. intrinsic motivators by hedonisticaltruism · · Score: 1

    http://www.timchilders.com/the-candle-problem
    Where having a manager watch the clock is the extrinsic.

  116. Hatching. Coding. Resting. by unity100 · · Score: 2, Insightful

    this is the work cycle. Once you need to do something, you generally need to hatch an idea. and hatching is not always active. it can be passive too. while stupidly surfing or even doing your laundry at home, your mind can be busy with the issue in the background. in that respect, coding is a kind of work that generally intrudes one's personal and leisure time. and you cant rest until you actually devised a solution to the issue. when you feel that something clicked, your mind rests in ease, and you can function normal again. and you can start implementing the solution. that is the coding phase. of course, until the next problem is put forth. then the cycle begins.

    resting is time that happens in between all those. whether you code or think for 15 minutes and then surf or just be stupid for 5 minutes, or while resting on weekend you cool off the engine.

    you gotta cool off the engine. be warned. if you dont and just keep thinking and coding like a monkey for months, you will eventually snap, regardless of how young you are. concentration takes huge toll on one's brain.

    so, act wise. dont feel that you are 'stealing'.

  117. Unions or Goons? by Wrexs0ul · · Score: 1

    So do we need unions or goons? On the outside they both sound like good ideas :)

    -Matt

    --
    --- Need web hosting?
  118. Gardening can be a thought job by Aargau · · Score: 2, Interesting

    I'm biased because it's a hobby of mine, but yes, I could see doing that if the break allows for thinking about drought resistant perennials, planning so that the garden has some interesting blooms each month, and thinking about how to get rid of some bugs that other gardeners are succumbing to. Then again, gardening is a pretty good activity to think while working. As an aside, and it may be observation bias, but I do know quite a few long time programmers who do get into gardening for the mental challenges (we had some folks at the Tech Shop/Maker Fair working on wireless soil sensor equipment).

  119. I am a programmer by psithurism · · Score: 1

    So, you hit '=' in some cells and click on other ones, and occasionally you change text/cell colors.

    Do you bold text sometimes too, or does that cost extra?

    Think his job is underwhelming, you should see what I do; I use plain old text editors, no relations between cells whatsoever, just typing away in one long linear stream punctuated by whitespace. I can't even bold text or use colors.

    Just waiting for a program to come replace me. It'll happen to me first since my C source code doesn't have half the features of a spread sheet.

  120. Re:Wow. Bitter much? by scjohnno · · Score: 1

    I understand what you're getting at, and obviously you're using an extreme example, but if you have somone "working" for you who is spending that much time not working, you're drastically underusing your resources.

    As long as the employer recognises that 40 hours of that Tetris-player's week contributes more value than 40 hours of TakesADayToCodeHelloWorld McGee's week, and therefore should require more money to finance, then he's free to reallocate his resources. Ideally, that is.

  121. 4-5 hours per day by liquidsgi · · Score: 2, Informative

    An old manager told me once that they were told in a seminar that they should expect 4-5 hours per day "real work" and the rest crap from most engineers. You are always going to be interrupted with random stuff-- answering email going to find someone to have a mini work meeting etc. I find that this is pretty normal. I myself can't do more than 4 hours without being extremely burned out at the end of the day.

  122. Re:Wow. Bitter much? by jesseh · · Score: 1

    If you work on your own company's projects, or you get paid by the project and your boss is a "good manager" take all the Tetris breaks you want... If you work for a company that does projects for other people and bills them by the hour, you don't have that luxury. A client isn't going to pay for your video game break, and you boss will fire you for wasting your time (and his money).

  123. Its all futile by Anonymous Coward · · Score: 0

    The more code you write the more bugs there are. So you write a data driven scripting framework so you can write as little code as possible. But it never works...

  124. depends by Anonymous Coward · · Score: 0

    Depends. If you're Indian it's zero or rather it should be.

  125. In my opinion by Anonymous Coward · · Score: 0

    You code as much as can you between every interruption you get throughout the day.

    The way I look at it - if I am awake - I can code. No excuses. If you can think, you can code.

  126. Re:Wow. Bitter much? by Skal+Tura · · Score: 1

    Viewing developer as requests go in, finished product comes out as only is a veeeery bad way to look at it.

    development is nothing like industrial work where you get actually "N requests in, N produced out". A single request might be estimated 1hr or 1000hr.

    Nevermind the fact that if the manager did evaluate the specifications and required hours, it's going to be wildly off... I've seen them being by order of magnitude off. Project managers don't tend to do their research.

    In industrial work every unit of work is the same size, and you can measure productivity like that. In development you cannot judge by produced count alone even. There's such things as code quality, % of actually delivered in usable manner, # of bugs etc.

  127. Not sure what Normal is: by DLG · · Score: 1

    Since in a small shop most people have to handle multiple roles, its sometimes hard to evaluate what your real work load is as far as any given set of tasks. The effort to effectively track each task is another task, and most people aren't really willing to give up 10-20% of their employees time to administrative tasks involving time tracking, so the end result is a sort of vague count "I spent about 5 hours programming, and about 2 hours production support and 1 hour administrative"

    However, any computer programmer who is exhausted by heads down coding should probably find something better to do. When I was in my twenties I often would code for 10-12 hours a day for stretches lasting as long as a month. I think I once did 20 hour days for 4 weeks with really no break on weekends. Not that it was healthy, but as far as just pounding out code, testing it, packaging it for UAT and then moving on, I was pretty non-stop. Now that I am 40 I prefer not to do that however I had a project in which I lost my coder to another project and suddenly had to fill in for 8 weeks that wasn't on my schedule. I did a few all nighters, and certainly was averaging 14 hours per day for about 2 weeks, mostly coding.

    Obviously that doesn't just mean writing a line of code a minute. It does involve testing things, finding answers to problems, designing algorithms, refactoring, but if you think programming is purely a function of typing out commands then I suspect you are writing trivial code.

    In any case, I don't want to judge, and I don't think people are being fair talking about you being lazy. It is VERY difficult to really code productively when you have to break every hour. I find that I like to set myself up for 4 hour slots for programming, so that I can really warm up, get into the right head and have time to really complete a few significant things.

    Still I think about programming when I am showering, or eating, or walking. Thinking is a big part of my job. Its really a challenge to just program at work and then stop thinking about it afterwards.

    The real question always has to be, are you delivering what you promise to deliver on time. If you are having trouble getting things done on time then you have to worry about how you are organizing yourself. If you are feeling like you just can't program more than a certain number of hours a week without your head hurting then get a better monitor.

  128. This article seems to support your hypothesis by hellop2 · · Score: 1

    This livescience.com article on about the navy seals said:

    "Their capacity to excel mentally and physically is widely known. These findings suggest that this may be achieved not by greater effort but by reducing effort when not needed and increasing it in relevant conditions. They appear to be able to appropriately tune their behavior to the environment."

    --
    How many more years will slashdot have an off-by-one error on your Score in your profile?
  129. I could code mode ... by PPH · · Score: 1

    ... if I didn't have all these damned Slashdot posts to get out.

    --
    Have gnu, will travel.
  130. I don't like the hourly system. by mosb1000 · · Score: 1

    How about if I just pay the gardener $100 to trim the hedges and mow the lawn, and then not worry about how long he spends doing it. This hourly wage thing is nonsense.

  131. You Sir... by Cryacin · · Score: 2, Funny

    Are a workaholic. And you can never get enough workahol.

    --
    Science advances one funeral at a time- Max Planck
  132. Is there anything else besides programming? by Caatje · · Score: 0

    30-40 hours a week

    Still going strong for 16 years already!

    Yeah! I'm a geek. who the fuck cares?

  133. Coding is like doing math by Paxinum · · Score: 1

    I believe that coding and doing mathematics is quite similar; you have a certain amount of "mana" that only lasts for so long. A potion of mana, a.k.a. Red Bull (name your poison here), can make you stay focused a bit longer, but I believe you can only produce a certain amount of intellectual work each day. I usually don't do scheduled research math for more than four hours a day. It does not work that way anyways, insight cannot be scheduled.

  134. 5 hours a week by spiffmastercow · · Score: 1

    I usually program about 5 hours a week. The other 35 work hours are spent thinking about code. One well-considered line of code is worth a thousand lines of stream-of-conciousness code vomit.

  135. nutrition by TheSHAD0W · · Score: 1

    It's surprisingly important to feed your head when you code. Ratiocination takes a lot of energy and expends certain nutrients. Make sure you're getting an ample diet, with a significant amount of animal fat, beef or pork preferred. Take a multivitamin every day. Dieting while coding may not work well, with the possible exception of a low-carb style diet.

    1. Re:nutrition by burris · · Score: 1

      Double Downs for Everyone!!!

    2. Re:nutrition by TheSHAD0W · · Score: 1

      Uh, basically...

      Cholesterol may have a bad name, but it's what insulates neurons from each other. The human body is capable of making its own cholesterol, but as always there's a metabolic expense.

  136. It's easy when you want to do it by gregthebunny · · Score: 1

    I code part-time at work (it's secondary to my support role) and some weeks I'll put in a good 30 hours of coding. It all depends on my other workloads and what I need to get programmed that week.

  137. I'd say that... by goosesensor · · Score: 1

    ...in a given week I do about 15 minutes of real work.

  138. 40 should be possible by bitfolder · · Score: 1

    My experience is that 40 hours is quite possible however I will need more sleep and of course enough insight in to the task at hand to keep going for that long which is quite unusual

  139. UML Bashing - WTF? by mswhippingboy · · Score: 2, Interesting

    To those doing all the UML bashing...
    Have you ever used it, or more to the point, have you ever used it properly ?
    I find it hard to believe that anyone with any experience with it at all would take that stand. It's not because I think it's particularly easier to create a complex object oriented design using diagrams - that depends more on the particular project as well as the experience of the developer. No, the real reason I find it indispensable is that (unlike apparently some of the bashers here) I have to communicate my designs to people that are not software engineers (i.e. customers, managers,etc.). These folks may not even understand the language I'm developing in - or care, but if I've done a good job, they can understand the diagrams.
    That macho "real programmers don't use UML" crap doesn't fly with me, and I've been around long enough to have used Rumbaugh, Booch and Fusion before it became UML.
    Real programmers (at least any that I would employ) use whatever is the most efficient tool for the given task. You can keep you're "I only program using vi" attitude and get washed out by a college grad or offshore resource willing to work for a fraction of your rate who understands the basic principle that for a design to be good it must be comprehensible by someone besides the designer.

    Now get off my lawn!

    --
    Sometimes the light at the end of the tunnel is the headlight of an oncoming train.
  140. What am I working on? by Arancaytar · · Score: 1

    Maintaining antiquated code on a platform with no appreciable version control and clueless superiors? 20 hours per week, tops.

    Writing something well that will be useful and is actually interesting? A hundred, easily.

  141. Re:Wow. Bitter much? by bar-agent · · Score: 1

    If you work for a company that does projects for other people and bills them by the hour, you don't have that luxury. A client isn't going to pay for your video game break, and you boss will fire you for wasting your time (and his money).

    See, this is what I don't get. If you go on break, you aren't on the clock. If you aren't on the clock, they aren't paying you. If they aren't paying you, you aren't wasting their money. So what's the problem?

    --
    i'd hit it so hard, if you pulled me out you'd be the king of britain [bash.org]
  142. Pussy by PeeShootr · · Score: 1

    If you are not actually coding for at least 60 hours a week, you are a pussy. Get a real job a write some code instead of posting bullshit on Slashdot. Pussy.

  143. I'm just hearing underperformer by WinstonWolfIT · · Score: 1

    Definitions: Typing code, and thinking as a process where typing is the end result, are work. Thinking about something else, which is healthy and necessary, is a break, and shouldn't count against accrued leave or set as unpaid time. I don't have a developer on my staff who doesn't routinely put in 6 solid hours of work. I've also had developers writers-blocked take breaks, one which lasted the better part of two days. I can't imagine a developer putting in only 20 hours and meeting my milestones, but neither would I particularly care if I had one.

  144. 125 lines of code a week by Anonymous Coward · · Score: 0

    I spent one spring about a decade ago at a large financial concern somewhere near Malvern, PA. To give an idea of the flavor of the place, ever time the assets grew by $10Bn dollars the employees got a slightly-less-business casual Friday. I flew in to work on the deployment of the web-services session authentication mechanism and got a desk in the contractor section next to an experienced Cobol programmer. Compared to most web deployments the work was going wicked slow. Between drafting specs, reviewing specs, project meetings, etc. the cobol programmer meant it when she said "a good day was creating 25 lines of Cobol."

    I guess when you're working at a place where the tiniest error could propagate through transactions affecting hundreds of billions of dollars in assets, you stress-out over the smallest changes. Somewhere between caring for other people's money, or writing software that deals with life and death (say, how do you emulate in software the effects of the mechanical system when someone presses on the gas and the brake at the same time?) and the far end of the scale where something innocuous happens, is a happy medium for you and your particular product.

    Keep in mind that programmers roll of the assembly line every day, hopefully the position you are in now delivers value added above just cranking out code and value which is appreciated by the company and recognized as part of your position.

  145. I thought of the same analogy last week. by CrazyJim1 · · Score: 1

    I felt that coding is like running a marathon and the manager is like the coach. More often than not the athlete knows his stuff better than the coach does. The athlete needs to constantly exhibit exertion while the coach may do little to nothing.

  146. None by mqduck · · Score: 1

    I'm a psychology student and programming, when I do any, is merely a hobby for me.

    --
    Property is theft.
  147. richard pryor? by circletimessquare · · Score: 1

    is that you?

    http://www.supermanhomepage.com/movies/movies.php?topic=m-movie3

    Having now taken a job as a computer programmer at Webscoe Industries, Gus Gorman is extremely disappointed when he sees his first paycheck. "Where did it all go?" he asks. During lunch, Gus and a friend discuss all the percentages taken from a paycheck. When Gus tells him that there has to be fractions of cents left over, Gus's friend tells him that the checks are rounded down to the nearest "half-cent". "Where do those half-cents go?" asked Gus. Suddenly, another light bulb goes on above Gus's head. When everyone else is leaving, Gus is still busy programming.

    --
    intellectual property law is philosophically incoherent. it is your moral duty to ignore it or sabotage it
    1. Re:richard pryor? by JWSmythe · · Score: 1

          I prefer the office space story line, but if I remember correctly even they referenced the Superman movie. :)

          I knew someone who was doing work for a major insurance company (which I won't name here). They weren't worried about fractional pennies. They actually had dormant bank accounts that they had forgotten about until the person I knew went looking through old paperwork. There were hundreds of thousands of dollars there, which likely showed as an insignificant fractional percentage of the company income.

          And no, they didn't steal it. :) They advised their manager who then had it absorbed back into the normal company accounts.

      --
      Serious? Seriousness is well above my pay grade.
  148. AWESOME COMMUNITY HERE by dudpixel · · Score: 1

    I just sat back and thought to myself, "This thread is awesome!". Its great chatting to other like-minded programmers.

    I'm a bit of a visionary sometimes and I often think, if enough programmers got together we could develop some pretty crazy and amazing stuff. Thats why Microsoft and Google do so well, both of them treat the programmers/developers very well.

    --
    This seemed like a reasonable sig at the time.
  149. mental effort, time fairness, and the soul by allwheat · · Score: 1

    When we talk about getting in the zone, I think there are two types of problems that need to be considered. First, there is the abstract, technical, or otherwise difficult problem that can only be solved with a short-term burst of extreme concentration and mental effort. Then there is the type of problem that requires a great deal of familiarity with disparate variables, classes, objects, or other pieces to a puzzle. When these pieces are all loaded into your personal RAM, a solution becomes tractable, but which if you try to look at the issues piecemeal, some here and some tomorrow, you may not be able to solve. These generally take a large chunk of devoted time in a single sitting. Both of these problems are mentally taxing.

    I've found in my computing/coding/developing that these periods of solid work can really zap my energy, not because they're not interesting or because I'm not up to the task, but occasionally it just requires a great deal of mental effort. Even when a problem is technically simple, it can require much mental energy, as if I were just multiplying large numbers in my head--the process is known to a first grade pupil, but it still takes a special effort to actually do it.

    So, I think I know how you feel about programming, but I'm sorry I can't answer your question about whether it's okay to surf the web and etc while you're on the clock. On the one hand, it doesn't appear to be fair to the employer, and on the other hand it appears to be a nice mindless respite required for you to relax so you can get back to your work refreshed and ready for another heave-ho. An employer might say something like, well, how about if you work on less intense programming for your breaks -- clean up a script, or change the appearance of one thing or another, type up a report, answer some email, or find something mindless which contributes to the company/community.

    I think there has been some hyperbole here, saying if you can do in 1 hour what others do in 8, then why not--I see what they mean. You seem pretty reasonable, so I think you're handling it alright. Your maximum efficiency level should be a high priority for you, but another should be how you are perceived by your managers and coworkers, so keep this in mind as well, since it may affect your pay or your career. Of course, your sanity is also important, so try to hang on to that. I think you should try reading Tracy Kidder's book "Soul of a New Machine." http://tiny.cc/bv3sf It's the story of the workers in a company that designed and built a new 32-bit computer in one year in the late 70's. Their lives were totally committed to cranking this out, and they did it, but some of them cracked. Oh, and it's extremely well-written. (Note: no conflict of interest here, except that I liked this and another of his books, "Mountains Beyond Mountains.")

  150. AG by aarongreenlee · · Score: 1

    I program 50+ hours a week for a site that gets 1.5m unique visitors a month and then find 20+ hours for my own projects. I love what I do. Do you?

  151. I suppose... by Anonymous Coward · · Score: 0

    ...192 hours. No, wait...uh...

  152. Depends on the workload... by Endophage · · Score: 1

    If I have a big project I can put in significantly more than 40 hours a week. Infact, I've put in about 30 hours programming in the last 48 hours because I have a project on at the moment. On the other hand, if my workload is lots of small tasks, bug fixes etc... I find it much harder to stay on track and probably only put in about 30 hours real programming on a week. I am definitely a thinker though. I approach a problem from a few different directions, boil it down to it's essence, then write the minimal amount of code that provides the functionality and can still be understood by a colleague who may have to maintain it somewhere down the line. There's always a balance to be struck between writing the most optimised code and writing code that can be maintained (and these days the compilers do a better job than a person optimising the vast majority of code scenarios anyway).

  153. Blueprints? We don't need no stinkin' blueprints. by davide+marney · · Score: 1

    Blueprints are just a bunch of pretty pictures. Forget 'em! Just call in all the contractors and tell 'em to start building...

    --
    "We receive as friendly that which agrees with, we resist with dislike that which opposes us" - Faraday
  154. You're wearing yourself out ... by BenBoy · · Score: 1

    Vary your activities ... whatever you do to take breaks from typing and clicking, *don't* occupy your time with more typing and clicking. Stay away from facebook (and this god forsaken place). Walk. Pick up pencil and paper and draw your solution (use case diagram, cartoon, funny dialog you imagine coming on over the support lines, anything that busts you out of your rut). Sort your paper files. Consider your day/week/month/year and do some planning.

    Being tired from coding (particularly if you're not getting into the zone) is not so bad; sometimes it's a signal that you need to do something else for a bit.

  155. The way we currently roll... by Anonymous Coward · · Score: 0

    Now, as a VP of Tech in my mid 50's I code for sanity! Though now I only manage 10 to 15 hours a week. But there were 20+ years of serial months of 65+ hour weeks and living on 3-4 hours to make the release. I miss those days of singular focus. Now have a staff of developers that are all stars in one form or another. When I hire I look for smart people and let them do what they do. I value symmetry in their lives. If they can strike a healthy balance between home life and work productivity they are rewarded. I always take the heat for headcount and yes we do have then highest FTE rate in the company but you always get what you pay for.

    I don't measure performance by the clock, rather the achievement. We live in a no excuses environment and from the start we take responsibility for our actions. I'll take 20 hours of cogent well thought out code to 80 hours of slash and hack...So if it takes you 80 hours to produce the result...there better be great code because I'm going to look...and if you try and bullshit me...I'll hand what's left of your balls back to you on a bed of rice with a little wasabi as I walk you to the door. It's only happened twice in the last 10 years I've been with the company.

    So if there is any advice this recovering manager can offer, it's "Live and Code like really matters to you". Do your internal best given your skill set and experience. Learn something new everyday, the half-life of your current technology knowledge is a couple years at best. And finally, remember your manager always has fresh wasabi and his rice cooker plugged in.

  156. Re:Wow. Bitter much? by Weaselmancer · · Score: 1

    Fooey. How do you calculate the value of thought?

    Maybe playing Tetris is what makes this guy tick. Who can say? The customer has a project. It is expected to take X hours. An engineer gets it done in X hours to your satisfaction. If 0.9*X is spent playing Tetris...who cares? Everyone at the end game got what they want.

    Me, I get most of my best ideas in the shower in the morning before I go in to work. Should I bill the customer for all the time I spend in the tub?

    Seriously - it's about the bottom line here. Is everyone happy? That's the final metric. What happens along the path is secondary to that.

    --
    Weaselmancer
    rediculous.
  157. Uh by cmacb · · Score: 1

    168?

  158. Re:Wow. Bitter much? by Weaselmancer · · Score: 1

    What you're describing isn't my bad idea, it's your bad managers. If they miss their estimates by orders of magnitude it's not your problem. Or mine. It's theirs.

    Your managers need to do their due diligence.

    In my case I have good managers. They get solid specs from the customer, consult us engineers about the details...then we hammer out a schedule collectively. It's never off by much since we collaborate.

    --
    Weaselmancer
    rediculous.
  159. Minimum 40 Billable by vuelto · · Score: 1

    Actual, 50-60.

    Sucks

  160. How many hours can you program? by Anonymous Coward · · Score: 0

    I'd very loosely estimate that I can average 20 hours per week. If I "crunch" up to 60 hours per week for 3 weeks or so, I get something like writer's block, where I *just can't type in the code* even though I know exactly what needs to be done. I was working on a menu system for Open GL for about three weeks lately, and when I fiddled around with glCopyPixels() for icons, I found that I couldn't specify a non-zero origin for the source. I knew perfectly well that I could blit a sub-bitmap from system memory to a buffer for OGL to upload, but I just *could not* type in the necessary code (which should have taken 5 minutes). If I push hard enough, I get physically ill, with nausea and backaches.

  161. I want your job! by Anonymous Coward · · Score: 0

    I work as a developer consultant. On most projects, thanks to agile (read: slave-driving) methodologies, I bill the client for approximately 80% of a given day for actual coding time. The remainder is spent on meetings, communicating with BAs and PMs, estimating hours, and performing SCM update-build-commit cycles when completing tickets that describe my units of work.

    We bill a full 8h/day to the client for client work; anything tangential to client work -- such as talking to HR, or doing internal infrastructure stuff, or chatting with co-workers, or attending local networking events (which is not only required of us, but we are strongly encouraged to help build our presence by wrangling speaking engagements, etc.), attending company meetings and social events to bond with our co-workers, etc. -- must occur outside this time.

    In all, I typically bill the client for 8.5-11 hour days, every day. We obviously do not bill for lunch time (indeed, this does not count as part of the work day; I don't know who these people are who work 9-5 jobs with 0.5-1h lunch breaks included in that 9-5 period, such that their actual, non-lunch work hours are = 7.5h/day). I do not spend time surfing e.g. Slashdot at work during non-lunch time, because my PM or architect would chide me for it because we're in "crunch mode" -- and have been for the last 3 months, and will be through the end of June (6 months of "crunch mode"? Yes, really).

    And I'm paid salary for 8h/day, and not a minute more. But "work ethic" (that horrendous Puritanical piece of bullshit IT people and especially their management like to moralistically parade-around and push on everyone else because such people have no lives and few friends and are hence under-socialized) demands we work more than that -- that we work for free. You only find that sort of free-labor communism in 2 types of economies: communist, "work for the good of everyone" nations, and capitalist "work for the good of everyone in your firm" nations. Oh wait - that's everywhere...

    And we should, everywhere, oppose such IT slavery. I propose starting a union.

  162. Meetings by Profane+MuthaFucka · · Score: 1

    A true programmer is like a true Klingon. The true programmer can program all day, BECAUSE he is a programmer. He breathes it, it is his honor and his life.

    If you don't mind meetings because they give you a break from programming, perhaps this is a sign that you should try something else. Perhaps your heart isn't truly Klingon, longing to do battle with the code.

    I think your heart must instead be Romulan. You should try management.

    --
    Fascism trolls keeping me up every night. When I starts a preachin', he HITS ME WITH HIS REICH!
  163. Re:Wow. Bitter much? by Anonymous Coward · · Score: 0

    Those managers who judge a persons worth based on hours or lines of code should
    be fired for incompetence.

  164. 10-15 hours in a session sounds right by Anonymous Coward · · Score: 0

    It is difficult to code much more than 10-15 hours in a session, not in a week. Small breaks should be allowed, away from the computer and TV.
    If you get stuck, get outside. Get fresh air, go for a run. Get away from the keyboard.

    If it is at work, they might not like you going out for a run / walk. But it should be no problem coding 4-5 hours a day for 5 days a week. Much more than that requires more breaks away from the computer.
    If you code at many different things, efficiency goes down. It always take time to adjust to another piece of software. Sometimes you need to spend time finding solutions on the net, but I consider this part of coding as well.

  165. Bursts are bad for me by wye43 · · Score: 1

    Seriously, my favorite style of work is 48 hours non-stop (light food only, tons of cofee and good music), finish the deliverable, go get drunk and pass-out. Don't touch any work-activity for next 1-2 days. I get more work done in those 2 days that in regular 2 months of 9to5 work style peppered with meetings and interruptions.

    If I have 15 minutes left until a meeting or lunch, I don't even bother starting on a task, its just waste of brain power, it takes me more to enter "the zone".

  166. 80 Hours by mcnazar · · Score: 1

    I generally do 80 hours coding/debugging documentation (over 6 days) across three projects and two programming languages (five if you count HTML, CSS, JavaScript, Ruby and Delphi as separate languages).

    I do find that by day six I am mentally exhausted and need a day off, which means no PC time at all.

    A day off used to mean playing with a side project... but that got too exhausting.

  167. Meh by Anonymous Coward · · Score: 0

    What burns me out more than straight coding is sitting in an office landscape under scrutiny by peers and my bosses. I have some severe ADHD and work at much higher speeds but I also get very easily annoyed and distracted by the constant chatter and banter around me. If I work from home I get done in an hour what my average colleague gets done in a day but at work I can't focus for shit. I'm no supercoder, I get shit done and working, I'm not like one of my colleagues which is just awesome and holds seminars all over and is called inn as a codeninja on projects but I get shit done.

    What is also straineous is the fact that I work at multiple projects at once in a company where communication is very bad. One project has stagnated for 2 years due to people just not doing their job or replying to mails (10k+ employees in several towns working together). Some days I can sit even with 4+ projects and have nothing to do because I'm waiting for people to respond or do their part, it's fucking annoying.

    I hope to move on to somewhere I can work from home though just to lessen the strain from my ADHD and the fact that I find most people to be imbicils.

  168. Relevant study by halfnerd · · Score: 1

    I vaguely recall reading a study about the optimum work week for thoughtworkers. I've often cursed myself for not keeping a link or reference around. Maybe someone else might help me find it? I think it was a german study. The conclusion was that 25h per week produced optimal results. The number might be a bit off but the idea is about right.

  169. Nil, Nada, Zero etc by Anonymous Coward · · Score: 0

    These days I find after I solve the problem I havent the desire to code it Ive become Wally in my old age. (mid 40's)

  170. depends on the intensity by aGuyNamedJoe · · Score: 1

    I have done 10 to 15 hours straight on a project, and been wiped after that, but the most interesting time I was working with two other guys to redesign/redo a program in Smalltalk. We were essentially doing triples programming and we found that 6 hours was just about all we could handle. 3 hours in the morning, lunch, 3 hours in the afternoon and then we were basically wiped. After that we could do email or other unrelated things, but not programming.

    The level of concentration in that effort was as high as I've achieved -- we were in the unusual position of basically knowing everything we needed to know, so we didn't need to spend time investigating this API or that library or what the requirements were -- we could focus on exploring the design space, implementing and testing.

    It was exhilarating but exhausting.

  171. For short periods? by rnturn · · Score: 1

    I can honestly say that it's possible to pull 80 hour weeks during a coding binge. Now that includes meal breaks (that usually included dragging along listings that let you do some debugging, rearranging, etc. while eating; they double as a placemat, too) and sessions standing in front of a blackboard (sort of tells ya how long ago it was that I did this) working out the flow and logic of the code. Luckily I only did that for 3-4 four weeks while I was in grad school working over the summer. Most other weeks were only 50-60 hours. :-D

    --
    CUR ALLOC 20195.....5804M
  172. Feynman's Spinning Dinner Plate by Anonymous Coward · · Score: 0

    Here's an article about Richard Feynman's spinning dinner plate at Cornell University. It's an excellcent read about mental productivity- how insight into angular momentum came from thinking about something simple and at the time he was feeling worn out and a bit depressed.

    http://www.news.cornell.edu/chronicle/05/3.24.05/CUplate.html

  173. Re:Wow. Bitter much? by Anonymous Coward · · Score: 0

    Awesome; I respect this. I myself spend a good part of my work time looking at art online or slashdot or just reading online ... but when I code, I go into the zone and get things build solid quick -- and I'm always available when something comes up. So I'm in the office 9-5, coding chunks of that time, organizing my tasks part of the time, designing part of thet time ... and relaxing / playing part of it. The recreation increases/helps my creativity and prevents me from being burned out at 5 when I go home to my wife and young daughter.

  174. I used to... by jsfetzik · · Score: 1

    There were times when I would actually code for 35-45 hours a week. Assuming "code" includes the wrote, run, crash, debug, rinse and repeat cycle.

    These days I am lucky if I actually code more then 5 hours a week on average. I spend most of my times doing administrative tasks, being interrupted by coworkers and attending ineffective meetings.

  175. bworthy by bworthy · · Score: 1

    Normal.

  176. variable working by multicsfan · · Score: 1

    Back when I was younger and a grad student I'd typically work 8 to 12 hours a day, 7 days a week on work projects, particularly when there were deadlines. I'd do this for several months at a time, meet the deadline, do some cleanup for a week and take a week off. Most of this was creating new code as I was developing software. I've done this for shorter times since then, like a few days at a time to solve problems for customers at another job. I've done the 8 to 12 hours/day 7 days a week for a couple months several times.

    I'm now diabetic and have diabetic eye problems and can't focus on the computer screen well enough to reliably do more then around 10 hours computer work a week. I really miss the ability to program or read tech manuals.

  177. Framework Thrashing by Sevorus · · Score: 1

    I think the posters above have covered the hours-worked vs. actual productivity metrics, but for me the number of hours I can work is directly related to how much my mental framework needs to load and unload given projects. I work on a few different pet projects, each of which has multiple components (web-based, databases, perl/python, whatever). Once I've sort of mentally loaded the specifics of the area of code I'm working on - the relevant functions, the tables, the variable spaces, etc - I can go like mad for hours. The "zone" ppl are talking about. Even if I have to walk away for a day or two, if that was the last thing I was doing I still have most of it in working memory and after a few minutes catching up I can get right back into the groove. On the other hand, jumping to a whole new piece of code is going to require significantly more mental effort to refresh my memory of what all the fiddly-bits do and where I need to start the changes/updates/whatever.

  178. The short attention span generatiion by whitroth · · Score: 1

    Thus we see the results of not reading actual books, thinking video that jumps around rather than giving you actual viewpoints is "edgy", and that anything intelligible can be written in the 140 chars that were intended for a ball and chain (aka a pager).

    I've had plenty of projects and jobs over my career where I was wotking 30-40 hours a day, no meetings, for weeks or months, straight development cycles - making flow charts or reading Revealed Specs, code, test, debug....

    The real question about "are you stealing" is whether you're actually getting your work done, or falling behind.

                    mark

    1. Re:The short attention span generatiion by Cruxus · · Score: 1

      30-40 hours a day? You do realize there are only 24 hours in a day, right?

      --
      On vit, on code et puis on meurt.
  179. Re: Coffee by xemc · · Score: 0

    Hey, are you a coffee drinker?

    For myself, I've noticed that if I drink lots of coffee, I can think really fast for a few hours (note: fast != better), but then I've tuckered myself out and I can't keep going at the end of the work day.

    Try cutting back your caffeine intake and see how it compares. Let us know how it goes!

  180. Re: Coffee by phantomfive · · Score: 1

    That's where the afternoon double mocha comes in. :)

    --
    Qxe4
  181. Slave Labor by visionbeyond · · Score: 1

    In my earlier years, being full of piss and vinegar, I was coding a minimum of 40 hours a week and up to 60 or even 70 hours. After working for several companies and a slew of projects, most of which generated millions in income for the business, I did a project that almost killed me. In order to hit the deadline, I worked on average 13.6 hours everyday for 4 months. I was beyond burned out, mentally exhausted, and just overall fried. Before delivery on the project I wanted to settle on the fees due for all the overtime, which quickly became a problem, even though every minute was logged. My philosophy on coding drastically changed after that.

    Here is the truth and reality for every programmer. Any company you code for will take their sweet time coming up with specs and approval for a project. By the time you get it, they will undoubtedly want it yesterday, so you'll always be under a tight time crunch. You could have no life and kill yourself coding it and at the end get a shinny star or "great job" comment. If you work in a salary position, you may gain some respect, or even best case a small bonus, but is it really worth it? Unless you have a vested interest in the company, through something like stock options or profit sharing, it is worth it in the end. I suppose that is something to be answered on an individual basis. Personally for me, this is why I quit being a System Admin and became a programmer. I don't want to be on call 24/7 and when I've gone home for the day, I'm on my time.

    As to if it's stealing doing less than 40 hours, well that's a question of ethics really, with no universal black and white answer. Although I believe most companies expect a certain amount of lost time during a day, they are for the most part paying you to work each day. Pride (or the lack there of) in doing what you do will determine the quality of your work. Easily the majority of businesses have little to no ethics or honor in how they conduct business. Most business models are based on the final profits, with little consideration as to how they got there, so long as the amount grows. I still believe any company making a quality product or service can make a good profit and still have honor. While it is easy to fall into what is common place in the business world and it's practices, I'd ask yourself if you believe it's fair and justified working 20 hours for a 40 hour paycheck. Would you have the same view if you were the employer instead of the employee? In the end, you are the only one that has to live with the choice, but remember that we are what we do - not what we think, believe, or say. Actions define a person.

  182. 40 hours a week would be nirvana. by mapleneckblues · · Score: 1

    I would die for the day where I could get a chance to program 40 hours a week. I think I get about an hours worth of actual programming done during the week. The rest is spent dealing / haggling with process related overheads, testers, test managers, managers and meetings.

  183. Code Hustler by Anonymous Coward · · Score: 0

    If I'm REALLY into it, I'll fucking write code till my eyes bleed green shit. If I hate the project I'll hate my life and start plotting to kill innocents.

    So on a good week, I'll code 50 hours, on a shit week.... maybe 5.

    The problem is when you get into that ZONE.. and you code hard and forget all about reality, you are on the path to burning out. It's not a matter of if but a matter of when. Then you're fucked because nobody wants a burnt out c0der.

  184. Max effectiveness level by geek2k5 · · Score: 1

    I once worked for a software company where the owner said that programmers should not work more than forty hours a week, except in VERY rare emergencies. He based that on the observation that the programming done after the eight hour a day limit often required reworking, thus negating the gains achieved by overtime.

    As far as my maximum effectiveness level, I could usually do about twenty hours hours of programming a week, including doing pseudo-code for some of the more complex bits of code. The rest of the time was spent in testing, tweaking and making sure that the new code works as desired, plus the standard overhead of keeping up the skill sets.

    I consider the process of programming to be a job that requires a lot of brain sweat if you are trying for something that works and works well. After you reach a limit your mind needs a break, otherwise you end up with headaches or other stress related problems.

  185. Most Productive at 4:30 by Naatach · · Score: 1

    I seem to get a burst of creativity around 30 minutes before the end of the day, especially if I have to be somewhere after work.

    --
    There may be no "I" in team, but there's also no "F" in way.
  186. You must be young by cmdotter · · Score: 1

    40 ain't hard at all. I used to work 11hr days 6.5 days a week writing games. Of course I burnt out after a few months doing it, but coming back to 40 is an absolute breeze and have been doing that for years now.

    You should toughen up: http://www.youtube.com/watch?v=unkIVvjZc9Y

    Perhaps purchasing this (therapeutic?) wristband can help: http://store.ronniejohns.com/?show_product=HTFU

  187. 122 hours a week by Have+Brain+Will+Rent · · Score: 1

    was my longest I think. 80+ per week was routine on some contracts.

    oh yeah, and it was uphill both ways, in the snow, using rocks for a computer... but we didn't complain about it.. we liked it like that!

    --
    The tyrant will always find a pretext for his tyranny - Aesop
  188. Simple Solution by listentoreason · · Score: 1

    Next time this happens yell out to an imaginary colleague somewhere on the other side of the cube farm "Frank! Hey Frank! Were you able to purge all the trojans from our latest release? Bob needs to decide if we can fix this quietly or if we have to inform our customers."