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 !