I have never slept well my entire life. 4-6 hours a night is my average. It doesn't seem to impact me... I have always felt great, and I have always coded on complicated things without issue.
There has to be a ratio difference for people.
There has to be a ratio difference for people.
Otherwise, I usually sleep 7h - 8h, and that's restful. However, I once had to endure 2 months of pain, waking up every 1h - 3h and having to walk around at night. In total, I slept 7h - 7h30 ... but felt extremely tired, I had trouble remembering words, had no energy, was confused, and found it hard to think ...
That said, I'm only 20, and I don't want to wreak havoc on my future health. Difficult stuff.