Slashdot Mirror


Ask Slashdot: Does Your Work Schedule Make You Unproductive?

debingjos writes "Management at my company seems to think that our developers can get extra work done if they work extra long days. However, as one of the devs in question, I don't agree. When I've been coding for eight hours, my pool of concentration is exhausted. Working overtime either fails to produce any extra code, or the quality of the code is very bad. What is the community's opinion on this? This can be broken out further into several questions: What are the maximum number of hours you can work in a day/week and still be reasonably productive? When you absolutely must work beyond that limit, what steps do you take to minimize degradation of quality? If you're able to structure your time differently from the typical 9-5 schedule, what method works best for you? Finally, how do you communicate the quality problems to management?"

29 of 311 comments (clear)

  1. You will never change them by sinij · · Score: 5, Insightful

    You will never change them. Find a company that allows flex hours and doesn't manage by putting out fires with more fires. They are out there.

    1. Re:You will never change them by MyFirstNameIsPaul · · Score: 5, Insightful

      This issue occurs across all careers, not just programmers. A friend of mine is an accountant and he has had the same issues. What he has learned is to just move on to another employer. It's not worth the heartache and permanent hair loss to stick around.

      --

      I once took an excursion to Reddit, and later HN. Unlimited up/down voting sucks when dealing with a hive-mind.

  2. Best is two shifts with some recovery time between by StuartHankins · · Score: 4, Interesting

    Now that's just me, but taking a break and stepping back makes a huge boost to my productivity. I also code best late at night because I'm not distracted or disturbed and can get into something without worrying about a schedule. I can do several days of 10-12 hours if needed but not more than that before work quality suffers.

  3. Re:Really? by ackthpt · · Score: 4, Informative

    "Does Your Work Schedule Make You Unproductive?" - no but Slashdot and TheChive sure do

    Oh come now! You're Slashdotting is counted toward Professional Development. Same as for when the execs slip out for an afternoon of golf.

    --

    A feeling of having made the same mistake before: Deja Foobar
  4. Re:Really? by Jeremiah+Cornelius · · Score: 5, Informative

    1- Manage MILESTONES, not MINUTES
    2- Quality problems are why there is a design spec and QA engineering. If these are too "old school" for your management and methodology, expect the beating to continue. That means code coverage and quality will be measured by your customers. ;-)

    --
    "Flyin' in just a sweet place,
    Never been known to fail..."
  5. Re:Too Old by x0ra · · Score: 4, Interesting

    When you crank out 100+h/week, you should probably ask yourself question about your life (or lack of thereof)...

  6. Marination by El_Muerte_TDS · · Score: 5, Insightful

    Solving problems is like marinating meat. It takes time. If you rush it, you get a quick solution, but not the best. A quick solution might be acceptable for one meal, but not for future meals.
    The "Eureka effect" isn't something new.

    1. Re:Marination by Pino+Grigio · · Score: 4, Insightful

      Please mod up everybody. This man has hit the nail on the head.

      So many times I've been at work doing nothing because I didn't have a solution or at least I had a gut feeling that the approach I was taking wasn't a good one. A night's sleep and a hot shower next morning and ta-da! The solution is suddenly makes itself available.

  7. 8 is an entirely arbitrary number by intermodal · · Score: 5, Insightful

    In creative endeavours like coding, an 8-hour day of actual work is never, ever 8 hours of successful coding, and often results in questionable code that I have to rewrite later because looking busy when you really need a bit of time away from the desk. I think that if I could get away from the desk more without being perceived as slacking off, I would actually get more done.

    Get up, take a walk around the block, play a little guitar, or whatever suits your fancy. As long as it gets your mind off the present obstacle. Come back with a fresh perspective and a fresh mind.

    It certainly does worlds of good for my own free-time projects, but at work? It seems more like people believe they are paying for time, and not for actual work done.

    --
    In SOVIET RUSSIA... erm...NSA AMERICA, the Internet logs onto YOU!
  8. Can you get into the 'zone'? by penguinbrat · · Score: 5, Insightful

    As a developer, once I'm in the 'zone' I can code until I'm practically asleep... Although if I was forced to code for X hours, I couldn't say if I could 'enter' that zone or not - my guess is I wouldn't considering I would probably be thinking more about how pissed I was.

    1. Re:Can you get into the 'zone'? by Pino+Grigio · · Score: 5, Insightful

      +1 for mentioning "the zone". I've experienced this. It's that time when you know what you're doing and how you're going to do it and every line of code you write is progress.

  9. Re:Really? by JMJimmy · · Score: 4, Interesting

    lol

    True. It really varies by the individual, amount of sleep, consecutive days of intensive work, etc.

    As a person with an executive function disorder it's much much easier for me to work for extended periods of time because I don't recognize the time passing. I'll go until I can't go anymore. That said it takes me a while to get into "code mode" so a schedule which is interrupted by meetings and other crap means a huge loss of productivity for me.

  10. Studies say by fustakrakich · · Score: 4, Interesting

    6 hours max per 24...

    --
    “He’s not deformed, he’s just drunk!”
  11. Re:Too Old by Anonymous Coward · · Score: 4, Insightful

    When you can't do in 100+ hours / week what I can accomplish in 30, you're probably too young for the job. Step aside and let someone with some experience and perspective do the job that you obviously can't. Development productivity cannot be measured in hours, nor in lines of code.

  12. No job, no schedule, no worries by seniorcoder · · Score: 5, Interesting

    Eat your hearts out.
    I'm recently retired and loving it.
    I'm currently building a kayak rack in my back yard without any deadlines.
    Sometimes I just put down the tools and paddle off to check my crab pots.
    At the start of every day I sit on my patio overlooking the water, drink my coffee and decide what (if anything) I will do for the rest of the day.
    I wish I could have retired 40 years ago.
    So long and thanks for the fish.

  13. Office Space by NoImNotNineVolt · · Score: 5, Funny

    I'd say in a given week I probably only do about fifteen minutes of real, actual, work.

    --
    Chuuch. Preach. Tabernacle.
  14. Used to by Oligonicella · · Score: 5, Informative
    This will all be 'used to':

    What are the maximum number of hours you can work in a day/week and still be reasonably productive?

    Entirely dependent on the project. If I was intensely interested, I could work much longer.

    When you absolutely must work beyond that limit, what steps do you take to minimize degradation of quality?

    There is no 'absolutely must'. If you have a limit, it's a limit. It's unhealthy to push past that, people have died.

    If you're able to structure your time differently from the typical 9-5 schedule, what method works best for you?

    Four long days followed by three off.

    Finally, how do you communicate the quality problems to management?

    Walk up, say "Hey....

  15. Re:Best is two shifts with some recovery time betw by 1s44c · · Score: 5, Insightful

    Pointless telephone calls and stupid 'do you have a minute' conversations waste about half of my day.

    I'm with you on working outside office hours and ideally outside the office.

  16. Re:Too Old by 1s44c · · Score: 4, Insightful

    When you can't crank out 100+ hours/week at max capacity, you're too old for the job. Step aside and let us younger and more capable guys show you how it's done.

    If you have to crank out 100+ hours a week on a regular basis you can't do your job.

  17. Who cares what the community thinks? by seebs · · Score: 5, Informative

    This is a well-researched topic with hard data available. And it's pretty unambiguously and consistently the case that the hard data show that working extra hours results, not just in lower productivity per hour, but lower productivity overall. Which is why people who start pushing for extra hours can't seem to catch up -- they're making it worse rather than better.

    Your managers are trying to find out just how much gasoline they have to pour on this fire to put it out, and I don't think you can reasonably expect them to get smarter.

    --
    My blog: http://www.seebs.net/log/ --- My iPhone/iPad app: http://www.seebs.net/seebsfrac/
  18. Re:Compressed Work Week perhaps? by 1s44c · · Score: 4, Insightful

    I worked for a manager once that didn't believe that anyone who practiced WFH actually worked when they were at home. His position was, you must be visibly in your cube to be considered to be working.

    Sounds like he was assuming other people would behave like him.

  19. Studies show 8 hour days are a limit by Bacon+Bits · · Score: 5, Interesting

    I worked in hospital IT several years back. Hospitals routinely schedule doctors and nurses for 12 hour shifts 3 days a week.

    While I was there a report was released that said that after extensive study of doctor and nurse patient care habits throughout their work day, they determined that the quality of patient care dropped sharply after 8 hours. During hours 9-12 the risk of being misdiagnosed (incompletely or inaccurately), administer incorrect medications (patient allergies or medication contraindications), administer incorrect dosages of medications, etc. The risks were almost double compared to the previous 8 hours. After hour 12 the risks got even worse. The study estimated that preventable accidents would fall over 75% by changing to four 8 hour days.

    Unfortunately, the attitudes of doctors and nurses were that the quality of their patient care was just fine, and nobody wanted to give up the schedules that they currently had. The medical field has a culture of overworking yourself and working while tired, so they are highly resistant to change even in the face of such profound data revealing how destructive their behavior was to patient well-being.

    --
    The road to tyranny has always been paved with claims of necessity.
  20. Re:Too Old by Bucky24 · · Score: 5, Insightful

    Or you're being expected to do more then just YOUR job.

    --
    All the world's a CPU, and all the men and women merely AI agents
  21. Re:Really? by occasional_dabbler · · Score: 5, Insightful
    No, developers are the most visible part of a class of workers who need total concentration on a task for a long period to make progress. You need at least 15 minutes to fully pick up where you left off in any half-complex program. You need to have up-to-date working copies of all the APIs you're using and your own classes in your brain before you can start breaking and improving anything. A 'quick word' from my manager means I waste this 15 minutes for a ten second question... My best work is only ever done in an empty office at night.

    If this is news to you, you must be new here...

    --
    "Our opponent is an alien starship packed with atomic bombs," I said. "we have a protractor"
  22. Re:Best is two shifts with some recovery time betw by JaredOfEuropa · · Score: 5, Insightful

    Good point about distractions. Good managers or team leads will make sure their coders are not distracted. Someone mentioned phone calls and silly questions taking up half of their work day, but interruptions are worse than that: interrupting a coder who is in "flow" even for one minute can easily cost half an hour or more of that coder's productivity. Even worse: nudging a coder out of flow several times a day for an extended period of time will lead to severe fatigue and, when under pressure to deliver, a high risk of burnout.

    Working coders need to be left alone. Not because they are prima donnas, just because of the nature of their work and the mindset required for it.

    --
    If construction was anything like programming, an incorrectly fitted lock would bring down the entire building...
  23. Re:Really? by chromaexcursion · · Score: 5, Insightful

    Good point. But everyone, and everyday is different. I've had inspired days when I worked 12 hours. My blood was up and concentration was good. I've had bad days when I caught up on email, admin, documenting, etc. no point in trying to code, nothing productive would result.
    old school management is a classic fail

  24. Re: Really? by TheWanderingHermit · · Score: 5, Informative

    There are a lot of jokes about morning and night people, but studies show there is validity to this. I learned to work with this when teaching special ed and later, when I ran my own software company, where I did all the programming, I saw a dramatic illustration of some of those issues.

    Morning people get up and are perky and ready to start. However, they're the ones who often need a nap in the afternoon and work well with an 8 hour day, but do not do well with marathon sessions. Night people do not start quickly. They wake up and need time to adjust to the world again and often are not ready to really focus until the afternoon. But they gain in strength and focus over time. They can often work marathon sessions, working all through the night and into the next morning.

    I found that when I was coding and could work on my own schedule, I could get some work done in the afternoon and this is when I set things up, did simpler tasks, and caught up on things. But my real work hours started about 8:00 pm, when I could start focusing and I would often work through until sunrise or longer. 18 hour coding sessions were not unusual for me, but, of course, if I did a few in a row because I was working on something difficult, then I'd need several days to just recover. But I might be able to do 5 days straight of mega-sessions if needed. It's also worth noting this was in my 40s, not when I was some over-energetic teen or 20-something. In fact, in one month, when I was over 45, I did more all-nighters (with good code as a result) than I did in all my time in high school and college combined.

    It does vary according to the person. Forcing night people to try to work in the morning will always be an issue for them and will not produce the good code they can produce. Forcing morning people who tend not to do well in marathons to stay for 10 hour days four times a week is just as bad.

    Corporations don't understand these things, which is one reason I never wanted to be involved with any larger corporations. If you want coders to do their best work, you can't regiment them and dictate how they work. You need to let them find their style. Let them work on their own schedule. If they need music, let them have it. If they need silence, find a way to make quiet places available. Some need neat work spaces, others need chaos.

  25. Can't really compare truck drivers to tech jobs by s.petry · · Score: 4, Insightful

    The risks are very different first off. If I crash my computer I don't usually kill anyone, if I crash my double trailer on the freeway there is a good chance that people die.

    Second, the fatigue is very different between mental jobs and manual labor. I agree that for the most part humans shut down after 8 hours. That said, Tech jobs are quite a bit like being an artist. You find a groove, and you can make magic. I have done a couple of 20 hour days in the past because A) I really really enjoyed the project I was working on, and B) I was in a groove and everything was snapping together. The 20 hour days are extremely rare, but I doubt I'm the only one that's had a couple of those moments.

    The thing is, if you find your groove and work a 12 hour day the bosses need to make sure you get compensated. A 40 hour week does not give much time to rest, and a 50 hour week leads to burn out rather quickly. If your boss does not allow comp time, get the hell out!

    Many managers learn who the workers are and never comp, often pushing the workers harder and burning them out quicker. As long as they get their bonus they don't care about the staff they have left next quarter.

    --

    -The wise argue that there are few absolutes, the fool argues that there are no probabilities.

  26. Re:Best is two shifts with some recovery time betw by m00sh · · Score: 4, Insightful

    Good point about distractions. Good managers or team leads will make sure their coders are not distracted. Someone mentioned phone calls and silly questions taking up half of their work day, but interruptions are worse than that: interrupting a coder who is in "flow" even for one minute can easily cost half an hour or more of that coder's productivity. Even worse: nudging a coder out of flow several times a day for an extended period of time will lead to severe fatigue and, when under pressure to deliver, a high risk of burnout. Working coders need to be left alone. Not because they are prima donnas, just because of the nature of their work and the mindset required for it.

    Hamming, a famous programmer at Bell Labs talks about open-doors and closed-doors. The general consensus is that people with open-doors tend to be more successful than people with closed-doors.

    It is very important to keep your ears to the ground and know what is going on in the workplace. Those "distractions" can sometimes be very important information that can save you hundreds of hours of works or advance your career. A "minute" talking to a person can reveal what a thousand words cannot.