9 hours is my sweet spot. Anything less than that, and I don't think as well. Below 8 and I'm generally a bit of a zombie, and operating at 50% speed. Above 10 and I tend to get groggy and depressed.
We seem to be cut from the same cloth. I would add that my sleep requirements vary based on my work load. If my work requires me to really think things through, definitely 9 hours to get back to normal. If its routine stuff, I can get away with 7 hours.
I wake early and go to bed late, it's a bad routine I can't get out of. So I get about 5.5, sometimes 6 hours of sleep a night. Believe it or not, the human body can adopt to sleeping patterns remarkably well. I always have energy, never feel tired or have any health problems as a result of sleeping so little. Anything under 5 and no doubt I'd feel like crap, but I seriously doubt anyone out there can survive on less than that without feeling tired.
I think you're likely to get a variety of ranges from the answers here, due to natural biological variation. I can't say for sure, but I suspect that the common theme here will end up being that people do feel that the number of hours that they sleep is important in how it affects their work (which is reasonable, since the act of coding is a mentally strenuous act).
I'm a bit curious now, I wonder how many people here try to wake up naturally.. personally, I consider that to be pretty reliable in forecasting my day's productivity.
I can't find my paper in time, but I did some study on this and apparently many (long) studies have shown that the ideal sleep time is 6-6:30 hours a day. Any variation either way of that duration affected 3+years longevity if I remember correctly.
What is the purpose of this question (i really am curious)? Everyone has their own sleep needs ,they depend on so many factors (age, stress, health, exercise, etc.),that a base stat will not tell you much. There was once a story on bbc about a research that claimed that in the middle ages people slept 2x4h having 1-3hrs of activity in between, and the popular 8hr sleep is a fairly recent habit, forced by ungrounded theories 2-3 centuries back.
I don't know about OP's intentions, but I upvoted it because I think it might be useful to others. So many people (including me, until a few months ago) think that it's good
to "pull all-nighters", stay awake for 20-30 hours straight if you can and finish the code (some people literally cannot stay awake for more than 20 hours. I can - I routinely stayed awake for something like 40 hours in the weekdays and then would drop dead for 15 hours).
5 or 6 months ago, I recovered my senses and changed my sleeping habits and now sleep a good 8-10 hours every day and feel I'm so much more "productive" that sometimes I feel sad about the "lost time".
So, this topic might bring others who were deluded (like me) back to sanity (or I hope so)!
8-10 hours. I used to sleep 4-6 hours in weekdays (for the past 3 years) and sleep 10-15 hours in weekends, but have changed my schedule for the past 5 months and can't believe how much better everything has become. Much less stress, getting much more done, learning faster and better :)
8 hours is a very good number , given i dont spend all day in front of a computer screen .. prefer some exercise to loosen yourself , i cant believe how much this little routine helps !
operating at 150% now a days !
I've been sleeping around 4.5 hours in average since last few weeks, working on a tech startup idea. I think I should go for at least 6 hrs now. 8 hrs sounds more appropriate though.
I typically get between 5 and 6 hrs (with 2-3 times getting up for the kids). If I get more than 8, I feel slow and groggy all day. 6 uninterrupted hours seems to be my sweet spot.
I sleep around 6-7 hours, but I have really hard sleep pattern problems. So it might be 2 hours in the morning and 3 hours in the evening or anything like that. :/
Depends on how much stress I have on my plate. On a good week, 8 hours, on a bad week, closer 4. I seem to operate as a real human being in either case though.
If I'm smoking, 7 hours.
If I'm not smoking, 5 hours.
If I'm not smoking and exercising, 6 hours.
If I'm not smoking and exercising strenuously, 7 hours.
I did at one point, but not these days. I've grown so accustomed to my sleep patterns that it feels normal.
However, when I do make time to relax - I've been known to knock out during the day and not wake up until 3 or 4 the next morning, thus continue this horrible habit.
My girlfriend makes such an effort to get up and go to work quietly. And then my cat starts meowing at me and clawing at the bed. Damn obnoxious morning cat.