Live data from Hacker News

Expecting programmers to problem solve for 8 hours is stupid

news.ycombinator.com

31–40 of 82 posts

Re: Expecting programmers to problem solve for 8 hours is stupid

#31
Take some time out of problem solving and put it to other uses.

For example:

- document systems

- write tests

- improve automation (build systems, helper scripts, etc.)

- clean your desk

- talk to a coworker

- read / watch material online related to your work

- go for a quick brisk walk

- any activity to further a long-term career plan

I know that feeling of short-term daily burnout. It is often I get to 4:30pm and I feel my concentration lagging. The trick is to give yourself permission to set aside the work you are doing. You can do this by finding some other activity that is useful other than facebook/reddit.

As an engineering manager I use that time to shift focus from short term (e.g. a feature I am implementing) to long term (what kind of stuff do I want the team to focus on within the next 6 months).

Re: Expecting programmers to problem solve for 8 hours is stupid

#32

Coding shouldn't require extreme focus. If it does, it's probably because your code base is an unstructured mess that can't be worked on without superhuman effort. Many programmers have never spent time in a well factored code base and don't know how to write one, so this might just sound strange to them.

If you're implementing something new, or a new interface, or basically anything interesting, it's going to require focus. I don't know how you can add anything of real value without a high level of focus.

Focus, sure. Extreme focus is a sign something is wrong.

I think the classic "one interruption makes me have to restart my 15 minute 'getting into the code' process" syndrome is a very clear sign that either your code is way too complex, or you have sleep apnea.

Re: Expecting programmers to problem solve for 8 hours is stupid

#34
post #4

You're expected to be at work for ~8 hours, not to problem solve for that long. (Hopefully, if you're at a half-decent company). You have email and chat to manage, stand-ups, other meetings and calls, coffee breaks, lunch. Most people can set up their day in a way that they can be productive without feeling like they need to be constantly 100% concentrated.

Some people prefer working intensely, some people don't. So why demand 8h of presence from everybody as long as the work gets done? From my experience, policies of being in the office for hours significantly reduces productivity, as people spend more time trying to fill their days instead of doing the work. Regardless, it's patronising to effectively treat highly paid professionals like children with dumb, simplistic…

> So why demand 8h of presence from everybody as long as the work gets done?

Because butts in seats will always be an easy metric? Companies love easy metrics, they are safe and considered "fair" / "objective" (numbers are objective, values ascribed to them or derived for them will always be subjective but companies love to confuse the two).

Re: Expecting programmers to problem solve for 8 hours is stupid

#35

My first software manager said that the most you can get out of people is five hours of real work a day. She also said that programmers need to learn to tell when the most productive thing they can do is go look out the window.

30+ year programmer here. This is absolutely true. Some days you cause more damage then progress, forcing you to spend still more time correcting it.

My supervisors understand that some days I'm not going touch code, instead I'll spend my time on education by keeping up with new tech, or, writing docs.. anything but talk with other co-workers distracting them

Re: Expecting programmers to problem solve for 8 hours is stupid

#36
My last job, an msp, expected 100% of our time to be billed out. You didn't get lunches or breaks.

If you got your work completed quicker so that you could hit the washroom or go for lunch, you were rewarded with more work.

Furthermore, I was on-call 24x7 and near daily would be called for help afterhours. This wasn't smb stuff exclusively. This was federal governments, hospitals, prisons, fortune 100s. All of which who have fees for downtime around $10,000-15,000/hour.

During my performance review, I got chewed out for have >40 lates. I called bullshit on this. My boss pulled up our time accounting system and turns out all except 1 were weekends. I worked at least 1 day out of >40 weekends in the previous year and I was being chewed out for it... seriously.

Then there was workplace politics; 2 other techs had been fighting for years prior to me even being hired. I had to regularly work with 1 of the techs and when he would rant about the other tech I'd just node and ignore the whole thing.

For whatever reason, the other guy took it as if i was on that guy's team and he started harassing me. I basically ignored it; took about a year before it escalated. This guy came after me with everything. He'd take shit out of my office. He'd bad mouth me to my clients. I collected a list of wtf is going on.

Final straw, I had configured 2x ASA5506 for a remote location in Texas. Both firewalls were accessible on the network. He told the MSP owners that my configuration of the ASAs were so bad they needed to shutdown the facility and ship these ASAs back to Canada for him to redo. Mind you, this is my client not his and this is probably in around 200th pair of ASAs I've configured and these were configured identical to 4 other locations which are up and running.

So I send long email detailing the harassment by this guy toward me.

The next day I was fired.

Point of the story, things can be worse. Pull up your socks!

Re: Expecting programmers to problem solve for 8 hours is stupid

#38
Different companies and teams have different cultures, so while I agree that the standard 8 hour workday isn't ideal for coding, and personally seek out teams that allow more flexibility... I also understand why some places do it.

That being said, if you are working yourself to exhaustion and burnout within those 8 hours, to the point of chronic pain... that is something wrong the way you are managing you work, your time, and your stressors. Many comments already in this thread are terrific in the details of this, and how you can adjust. But this also sounds like a medical issue. I'd get yourself to a doctor, and get some bloodwork done. You may have something as simple as vitamin deficiencies (probably due to how hard you are pushing yourself), so identifying them, adjusting your diet, and taking some supplements could help you. Go take care of yourself, and work will fall into place.

Re: Expecting programmers to problem solve for 8 hours is stupid

#39

Earlier quoted context omitted.

I have studied and kept detailed logs of my work for years. When I reach 4-5 hours of "real" work (i.e. deep work) I am mentally exhausted and I consider it a good day. No one expects you to be 8 hours straight in the zone, no one does. And if you can do so, the more power to you, but be careful not to burn yourself out. 3-5 hours of deep work - that's it

> No one expects you to be 8 hours straight in the zone, no one does. I see we haven't worked somewhere with billable hours.

Meetings, working on docs etc can still be billable. 8 hours straight in the zone every day? Nobody does that.

Re: Expecting programmers to problem solve for 8 hours is stupid

#40
post #39

Earlier quoted context omitted.

> No one expects you to be 8 hours straight in the zone, no one does. I see we haven't worked somewhere with billable hours.

Meetings, working on docs etc can still be billable. 8 hours straight in the zone every day? Nobody does that.

I've worked in a previous position that expected 8 hours of billable work for many of the junior devs, who didn't have meetings or documentation. It was crazy.
Post reply on HN