Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×
Programming IT Technology

Do Long Work Hours Affect Code Quality? 911

tooTired asks: "At my company the owner is heavily implying that the development staff needs to start working longer hours and weekends to shorten the time-frames on our current projects. The exact quote is 'These 8 hour days have to stop, we need to be working 15 hours a day and weekends, balls to the wall.' We are heavily under-staffed even with my multiple attempts to show the owner that we need more resources. My general feeling is that long hours is generally a symptom of poor project management, and not something to be sought after. I wanted to ask the Slashdot community their opinions on how working long hours during the week and weekends affects the quality of the code they produce, and the overall success of the project." A large reason why many in this industry find themselves working long hours and weekends is that management makes unreasonable expectations and deadlines. Are there ways of communicating to management that long hours to rush a project to completion is not the way to complete a successful project? Update: 08/30 23:11 GMT by C :Grammatical errors in title, corrected. Sorry about that.
This discussion has been archived. No new comments can be posted.

Do Long Work Hours Affect Code Quality?

Comments Filter:
  • Illegal in Europe (Score:1, Informative)

    by Anonymous Coward on Friday August 30, 2002 @06:58PM (#4173738)
    If you work more than 30 Hours a week or 48Hrs in the UK, it is against the law, and you are protected, no matter what littergation.

    In Germany companies are fined hundreds of thousands, if a company exceeds working hours.

    There are ways round this, but fortunately, in the UK, there are more LAWS to protect the employee, then to protect the employer.

    We all live, but we we work to live, not to work.
    Thank you Churchill.

  • Just quit. (Score:5, Informative)

    by autopr0n ( 534291 ) on Friday August 30, 2002 @07:00PM (#4173750) Homepage Journal
    Don't burn yourself out for this wanker. 8 hours a day is a totally reasonable limit for a job

    Sure, sometimes coders spend a lot more time then that on their job, but that's because they enjoy it, because they want to spend that time working on code for their job.

    If your boss is demanding you work 15 hours a day, quit.

    Will it affect code quality? I don't really know. In the short term I doubt it, actually. Will it affect your quality of life? Absolutely. Will it affect employee satisfaction? Probably, and down the line that will affect code quality. If you don't like your job, you're code will definitely suck.
  • Good Resource (Score:5, Informative)

    by philovivero ( 321158 ) on Friday August 30, 2002 @07:01PM (#4173764) Homepage Journal
    Most of the arguments you'll see in this discussion have their start in Extreme Programming.

    Here's a good reference: Forty Hour Week [c2.com] on c2.com, which seems to be the best web authority for Extreme Programming discussions and patterns.

    Give it a gander.

  • The best option... (Score:3, Informative)

    by The Good Reverend ( 84440 ) <.michael. .at. .michris.com.> on Friday August 30, 2002 @07:11PM (#4173848) Journal
    The best option, if you can afford it, is to quit and get a better job working for sane people. Sometimes, you'll need to put in a 15 hour day. It's unfortunate, but deadlines happen. But to be expected to put in 15 hour days EVERYDAY is absurd and insulting. You have a life outside of work, you need sleep, and you have rights under the law.

    Back on topic, working 15 hour days WILL affect your code quality, not to mention your quality of life. Different people have different ways in which they work best, and sometimes a long coding session can work wonderfully, but over the long term it will result in frazzled nerves and bad code.

    If he's expecting you to work 15 hour days, you need to let him know you should have twice as many people working 8 hour days instead. If he protests, drop that job like a bad habit. You'll only be hurting your health and sanity if you stay.
  • by Anonymous Coward on Friday August 30, 2002 @07:15PM (#4173888)
    If you're not getting paid hourly wages with overtime for the extra hours (e.g. your employer considers your position exempt) there are still rules about how much they have to pay you that may be to your advantage....

    http://www.fairmeasures.com/asklawyer/questions/ as k310.html
  • Bad management (Score:2, Informative)

    by Retief65 ( 539644 ) on Friday August 30, 2002 @07:18PM (#4173912)
    I'm a manager (government, no less) and this idea of regularized overtime is absurd. If your people are already working 15 hour days, what do you do when a crisis hits? Nothing, you crash and burn. On the other hand, with a well-managed workforce doing normal hours, when the crisis hits they all rise to the challenge because it's unusual, a bit exciting and they know it is not normal. They all pitch in and once you have crushed all before you, they can settle down to the regular routine again. The hard part is not responding to a crisis, it's ensuring the regular day-to-day wellbeing of your staff so they can perform well during a crisis. This guy should be fired instantly.
  • Peopleware (Score:3, Informative)

    by ergo98 ( 9391 ) on Friday August 30, 2002 @07:18PM (#4173916) Homepage Journal
    I highly recommend that you get a copy of Peopleware [amazon.com]. It is a fantastic book overall, but it deals in extent with the death march that is development overtime. I highly recommend you give a copy to your boss as a "Boss' day" present or the like, feigning that you're not quite sure what it's about.
  • by thomasrynne ( 114126 ) on Friday August 30, 2002 @07:30PM (#4173974)
    If the demands really can't be met in time consider using external libraries/applications.

    There are bound to be areas where you're re-inventing the wheel. Do a freshmeat search and find something which does the work for you.

    You might be able to remove entire sections of development and the areas replaced will probably have extra features you'd never have added.

    I think this approch should be taken more often.
    If the code isn't precisly what the software's about -ie where it adds value, you need to justify not using external code.

    Remember, if you code remains in-house you can use GPL'd code.

    Also, make sure all the functionallity really is needed. Drop any extra work to improve flexibility, -your guesses will probably be wrong so spend the time once you know what the new features are (this is just XP).
  • Re:Yup (Score:5, Informative)

    by Lemmy Caution ( 8378 ) on Friday August 30, 2002 @07:55PM (#4174117) Homepage
    8 hours was defined as a work day for a reason- it's the point of diminishing returns.

    No, eight hours was defined as a work day in the US because of the efforts of the labor movement, beginning the middle of the 19th century and, after a great deal of struggle, culminating in FDR's passage of the National Industrial Recovery Act, which was then struck down by the SCOTUS, and then partially replaced by the Wagner Act. The eight-hour work-day came at the expense of workers who were beatened, imprisoned, and killed trying to win it.

  • Re:Agreed (Score:3, Informative)

    by Zeinfeld ( 263942 ) on Friday August 30, 2002 @08:50PM (#4174372) Homepage
    Well, that's the letter of the law, but in practice, employers will add a clause to your contract saying you waive your rights under the Working Time Directive. No clause, no job...

    Ever heard of an unenforceable contract term?

    The EU working time directive trumps the language of the contract. In fact trying to put language in the contract might be used as evidence against the management at a tribunal.

    It would be like adding a contract term in the US that said the employee waives rights under the equal opportunity laws.

    Labor law is taken very seriously in the EU. Overall the costs of disputes is probably less than in the US however because jury awards in the few types of case allowed in the US tend to be much higher than EU awards.

  • Passivism? (Score:2, Informative)

    by c_wraith ( 226724 ) on Friday August 30, 2002 @09:42PM (#4174566)
    What the hell?

    Where did he say anything about passivism?

    He said to spend your time working on a relationship. If you've ever been involved in a relationship, you've got to know that it's not even close to passive.

    He said to spend your time raising your children. You must have been a child at one point... Perhaps you've forgotten it? A passive parent is NOT a parent raising his/her child.

    He said to spend your time caring for your parents when they become elderly. You also think that's passive?

    He didn't tell people to spend their time watching TV. He told them to remember what's really important.

    If making that one last software package work perfectly is what's important to you, so be it. But don't blame him when you look back at your life and realize you haven't lived it at all.
  • Re:Hmm... (Score:1, Informative)

    by Anonymous Coward on Friday August 30, 2002 @09:47PM (#4174587)
    Go do a search for something like "brain energy required glial cells".

    A few years ago a researcher decided there must be a very basic requirement for sleep, otherwise various animals would have evolved to never sleep.

    The energy needed by a vertebrate brain exceeds the amount of energy which can be delivered by blood to the brain. The brain requires stored energy to operate properly.

    So as the stored energy is used up, the brain starts to malfunction.

    Drink lots of sugar, you say? But that alters serotonin levels...which is OK if higher serotonin is helpful.

  • The brain can only (Score:2, Informative)

    by Anonymous Coward on Friday August 30, 2002 @10:02PM (#4174646)
    I work for a big company as a Software Architect/Engineer and I basically come and go whenever I want (within limits).

    On average I end up working about 7 hours a day, I never work on weekends, and sometimes I work from home (and these are the most productive days).

    I get more stuff done than some of my colleagous who work 12 hours or more plus weekends.
    In these 6-7 hours however, I work very concentrated without any distractions.

    Actually it has been shown (although I have no reference right now to back this) that humans can work focused for only about 6 hours a day and after that productivity tapers of dramatically.

    Now, of course I sometimes put in 16 hours or more a day, mainly to meet deadlines, but I always make sure that this is limited to one or two days.
    I think companies that make their employees work long hours on a continuing basis -- especially in the software business -- are extremely short sighted. Nobody in his/her right mind wants burned out, unmotivated software engineers. Humans aren't robots and should not be treated as such.
  • by surprise_audit ( 575743 ) on Friday August 30, 2002 @10:06PM (#4174659)
    A quick question for the original poster - if you do work the 15 hour days including weekends, would you still be paid for your regular 5-day 40-hour week?

    In other words, is your lunatic boss expecting you to effectively take half pay or less, or is he going to pay the same hourly rate for the extra time?

    If he's going to pay the extra, why not just use that money to buy extra employees. If he's not going to pay extra, then he's probably proposing breach of contract - you did sign a contract stating 40-hour weeks @ $xxx per hour/week/month, right? Tell me you did, please?

  • by Samrobb ( 12731 ) on Friday August 30, 2002 @10:14PM (#4174695) Journal

    Death March: The Complete Software Developer's Guide to Surviving 'Mission Impossible' Projects [amazon.com] by Ed Yourdon.

    Buy, borrow, or spend a few minutes in a bookstore reading the first 2-3 chapters, where Yourdon describes the four different type of death march projects, the prersonalities and politics surrounding them, and what your options are.

    What you'll read there will likely be the same sort of advice you're getting here. Yourdon's presentation is a bit clearer, though, and he raises a lot of good points about how to make a decision with regards to whether or not you'll buy into a death march project. The middle section of the book details how to survive on such a project if you do, indeed, decide you're going to take it on.

    At the end of the book is "Death March as a Way of Life." The long and the short of it is that these type of projects are increasingly common. If the project fails, then then it's your fault - you didn't work hard enough; the next batch of folks will no doubt be harder workers than you were. If you succeed, and ship on time, you'll just show management that death march projects work. Either way, you'll be in a job where every project requires increasingly superhuman efforts.

    Better to decide if you want to deal with that now, instead of trying to do so after a few years of insane workloads have destroyed your marriage, health, and/or mental faculties.

  • Re:Agreed (Score:1, Informative)

    by Anonymous Coward on Friday August 30, 2002 @11:14PM (#4174852)
    The government should:
    1: Ensure a safe and healthy working enviroment


    Right, so allowing a company to create a work environment where everyone is working 15 hours a day, 7 days a week is safe and healthy?

    Fucking idiot.
  • by DarkEdgeX ( 212110 ) on Saturday August 31, 2002 @01:41AM (#4175278) Journal
    Insightful doesn't even begin to describe your post-- I'm living proof of what happens when management expects more than can be realistically be given. A team of 3 developers were tasked with creating an app in 3 months; complete and ready to roll out (bug checked and the whole works, by the same 3 developers). I told them it wasn't possible and was told it WOULD happen and we'd work extra hours to get it done.

    They were so certain of this that I gave up debating the topic, and when month 3 rolled around, lo and behold, NO SHIPPABLE PRODUCT. 2 of the 3 developers were asked to resign with severance pay. I will NEVER accept that kind of shit from management again-- next time it'll be "I work 8 hours a day, and if you don't like it-- too bad!".
  • by Firethorn ( 177587 ) on Saturday August 31, 2002 @07:46AM (#4175762) Homepage Journal

    Henry Ford appears to have been a great proponent of the 40 hour work week. He actually looked at the economics of the work levels.

    HENRY FORD: Why I Favor Five Days' Work With Six Days' Pay [vcn.bc.ca]

    Ford Timeline [hfmgv.org]

    American Labor Timeline [hft1052.org] This does say that the move towards 8 hour days started in the 1880's. Ford didn't go to 8 hour days until 1914. But his company wasn't started until 1903. The assembly line started only in 1913. It was the assembly line that increased production enough that it made sense for Ford enough clout to cut hours.

    Not discounting the deaths/beatings/other stuff, Ford was a pioneer for the forty hour week.

An authority is a person who can tell you more about something than you really care to know.

Working...