I've been fighting a cold and took a couple days off from work. I started feeling better yesterday evening, but I couldn't fall asleep until about 4 hours before I needed to wake up.
I work as a programmer. I think I'm physically capable of going into work, but I'll be pretty checked out, and getting some more sleep will both make it easier for me to focus and help me knock out my cold.
In situations like these, is it reasonable to call in sick for the day or for part of the day? How do I decide where to draw the line?