Caffeine just prevents you from falling asleep.
Batween the hours of 10 PM and 4 AM.
From 8 AM to 4 PM, it doesn't do a damn thing.
Working on three hours of sleep is not good.
However, I do owe some of my best webcomics to those hours of staring at the bedroom ceiling.