TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Sleep quality and stress level matter more than languages or practices

244 pointsby ognyankulevabout 6 years ago

19 comments

mikekcharabout 6 years ago
I think this is true for the most part, although poor development practices can eventually catch up to you (I once worked in a place with 5000 programmers working on the same thing and whose productivity averaged 1 line of code per day -- it can happen.. :-P ).<p>However, while many people will rightly complain about stress in the workplace and long hours coding, I&#x27;d like to also point out that stress and lack of sleep can come in a variety of packages. I&#x27;ve seen good programmers destroy their careers because they thought there was no problem staying up drinking all night on workdays. I&#x27;ve experienced (unfortunately) being in a bad relationship and arguing with my SO all night until it was time to go to work.<p>Stress and sleepless nights will cost you in your career. It might cost you a <i>lot</i>. It&#x27;s not sexy to be the person that avoids drama in their life and manages their sleep schedule well, but it can have pretty significant rewards. If you think that in SV the difference between a top and middling performer can easily be in the $100K per year area, it puts a pretty hefty price tag on &quot;Oh, I&#x27;m pretty sure I can catch up on my sleep on the weekend&quot;.<p>From the &quot;hard to talk about, but I wish I knew this 20-30 years ago&quot; department :-(
评论 #19713680 未加载
Jachabout 6 years ago
The big picture is trivially true -- if you don&#x27;t sleep, you die. Where&#x27;s your favorite language, now? Similarly if you don&#x27;t eat -- yet few people would make a rant about &quot;food quality matters more than languages&quot;.<p>There&#x27;s still a lot of nuance. What studies there are don&#x27;t negate the existence of variability either. Well, then what&#x27;s the point of bringing up the subject? Taken broadly sleep is important as life itself, but then it has no place in an earnest discussion around improving productivity. Taken narrowly, it&#x27;s very context sensitive, so it&#x27;s again rather useless in discussing improving your own or even your team&#x27;s productivity unless you&#x27;re already in the weeds of knowing individuals&#x27; detailed backgrounds.<p>There&#x27;s a fun fact johnc&#x27;s comment in that thread points out. We can all agree if we want that if people aren&#x27;t getting their 8 hours (or some number close by), that has to happen first, and we can ignore whatever nuance&#x2F;variability&#x2F;context objections one might have. But with 8 hours, there are still over 100 other hours in the week. 80 if we&#x27;re just talking M-F. What are you going to do to fill those more productively? If switching languages lets you do something in half the time as otherwise, why wouldn&#x27;t you switch, and rather than just taking half the day off, <i>continue working</i> and do twice as much as you would in the other language for the day?<p>Is the point that you shouldn&#x27;t unnecessarily waste your waking life for some company? Fine, but you shouldn&#x27;t do that even if you&#x27;re getting 10 hours every night and are only asked to work 30 hours a week if those 30 hours are truly a waste. On the other hand, you might be in a situation where 80+ hours this week (hopefully not forced to be compressed to M-F or intrude on your sleep requirements) spent on work is the most non-wasteful thing you can think to be doing with your life at this time. Circumstances are different.
评论 #19712172 未加载
评论 #19711926 未加载
评论 #19712744 未加载
nreillyabout 6 years ago
The book ‘Why we Sleep’ has a lot of the detail on how sleep (or the lack of) impacts you.
评论 #19711558 未加载
2sk21about 6 years ago
Definitely strikes a chard in me - I&#x27;ve completely stopped coding when I&#x27;m tired as it has often led to disasters. I&#x27;ve just learned to live this limitation but its not been too hard.
评论 #19711281 未加载
hackerbabzabout 6 years ago
I’ve been wondering about this WRT the 969 policy at companies in China.<p>Why did they not immediately see a drop in productivity when implemented?<p>Is China’s software industry making itself less competitive by not letting its workers sleep enough?
评论 #19711437 未加载
评论 #19712041 未加载
评论 #19711760 未加载
评论 #19711305 未加载
评论 #19711702 未加载
评论 #19712589 未加载
评论 #19712654 未加载
评论 #19713719 未加载
ryanmarshabout 6 years ago
This is why I recommend every developer read Deep Work by Cal Newport and Why We Sleep by Matthew Walker.<p>Deep Work in particular made a bigger impact on my programming than any thing else in ~25 years, including languages frameworks and tools.<p>What I’m saying is, good sleep and the principles from Deep Work made more of an impact on my productivity than switching from Java Spring, to Ruby on Rails, or to functional JS and Serverless. Put that in your pipe and smoke it.
评论 #19713226 未加载
avichalpabout 6 years ago
Yes, this comes up often. I think it is difficult to be disciplined about it. To catch yourself when you are not well rested and act accordingly.
Shorelabout 6 years ago
If you are going to write that much, please use a better platform than Twitter.
评论 #19712612 未加载
评论 #19712806 未加载
smartbitabout 6 years ago
My favorite talk on Sleep by William Dement <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=8hAw1z8GdE8" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=8hAw1z8GdE8</a> September 23, 2008 Google Tech Talk<p>Very entertaining.
mnm1about 6 years ago
Of course. This is the least controversial opinion out there and it borders on fact. Anyone who claims otherwise is an idiot or an exploiter. There&#x27;s simply no substitute for sleep in any discipline or in life in general. It simply doesn&#x27;t exist as far as we know. People who short themselves on sleep are self harming, often out of stupidity. I&#x27;ve been there as have many because it&#x27;s part of our stupid work culture, but once one wises up, there&#x27;s no going back. Sleep quality and stress levels matter more than anything. Period.
InclinedPlaneabout 6 years ago
Additionally, a low stress non-crunch environment is better at retaining talent, which is significant on the short term but even more so on the long term (in a whole host of ways). Keeping people around longer means more retention of experience, less disruption to the corporate culture over time, more predictability in execution on projects, a more stable work environment (and less stress) for everyone else, etc, etc.
mettamageabout 6 years ago
Duh.<p>Then again, this is not repeated enough! Moreover, I have the idea that companies don’t know, they should.
jaequeryabout 6 years ago
I had chronic insomnia for several years. But then I’ve stopped coding right before sleeping at least 1-3 hours in advance and now I can finally sleep. Who would’ve thought.
评论 #19712828 未加载
joshmandersabout 6 years ago
I&#x27;ve felt this for a while, been actively monitoring my sleep for over a year and try to hit at average 7.5hr of sleep nightly. (This is what I found works best for me).<p>I&#x27;ve found it helps with my mood, and my stress and also productivity. I&#x27;ve also found that it is possible to have the same effect of not enough sleep, by getting too much sleep.
评论 #19713657 未加载
badsavageabout 6 years ago
I sleep well since i use Clojure
评论 #19714199 未加载
hyperpalliumabout 6 years ago
Related: determination matters more than intelligence<p>Maybe tools don&#x27;t matter much either, but... essays on twitter?
propogandistabout 6 years ago
What&#x27;s with this trend of multi-tweet posts being seen as noteworthy articles on HN?
评论 #19712439 未加载
chotoabout 6 years ago
Sure, but languages and practices contribute significantly to sleep quality and stress level.
scarejunbaabout 6 years ago
Yeah, man, but I&#x27;m doing well. I&#x27;m awake at 0730 San Francisco time after sleeping more than 8 hrs before, I eat a balanced breakfast, time my lunch and dinner appropriately, deadlift a respectable-though-not-special 350 lbs, run a 6 min mile, make about half a mil a year, have friends I love dearly and who love me, and everyone I know closely has a good life.<p>Some dumbass downing Red Bull to type `console.log(&quot;got here&quot;)` for the fiftieth time in the last 36 hrs without sleep isn&#x27;t on my level.<p>All these things aren&#x27;t things for Mr. Red Bull. They&#x27;re for me trying to close the gap in productivity to Carmack.<p>Or rather that&#x27;s all true for my friends. I can only deadlift 345.