r/AskProgramming • u/Rutabaga1598 • Jun 19 '22
Other Why is programming so cognitively expensive?
So I run my own SaaS, I code 36-40 hours/week typically.
But after a few weeks of doing this, I almost always crash and my brain is fried.
And then I'll need to take anywhere from 3-7 days off just to recover and restart the cycle.
It's not like I'm having much fun either on those off days, you'd think I can go hike or surf or do something fun, but no I'm mentally exhausted -- sometimes even taking a shower or doing laundry is an uphill battle.
All I can do is sit on a couch and watch Netflix reruns.
Mentally that's all I can do.
Is this just me, or is programming really so mentally exhausting?
How do you guys do this sustainably over years and even decades?
78
Upvotes
65
u/A_Philosophical_Cat Jun 19 '22
To answer the title question, I think it's pretty obvious: Programming is abstract problem solving in it's purest form. We're constantly using and abusing a part of our brain that originally evolved to let us be slightly better hunters and gatherers via planning, and pushing it to its logical extreme. No wonder it's exhausting.
To answer the actual question of the post, work less. If you're actually putting in 36-40 hours a week of actual programming time, you're doing at least twice, if not twice again more programming than the typical full time job demands. Most SWE I know (myself included) spend maybe 15 hours a week programming, about that same amount doing random documentation and sometimes sales support type stuff, and a combination of either pretending or not even pretending to work the other 10 hours in a full-time work week.