Actually according to some studies I read about intellectual jobs (programming being one of them) you can get around 6 hours useful work out of someone each day, and certainly after 8 you are working so ineffectively that you are just creating more work in the future.
If your employer considers 10 hours a day as standard, then they are not an employer that you want to work for. 9 is stretching it (i.e., 9-6 - seems very common these days).
Consider also the commute to and from work - an hour each way? Out of the house for over 12 hours all the time? What's the point of that, where's the time for yourself (after sleep, showers, housework, etc, you might be lucky to get thirty minutes to watch TV). Of course a commute is good for listening to music/news/etc (if you drive) or catching up with Twitter/Facebook/Email/books/etc if you catch a train.
When going for job interviews, make sure you try to do one after hours - see how full the office is at six and seven, for example. That will tell you more about the company than anything the interviewer will tell you.
Also, always do your number twos during work hours. Or wear a nappy during your commute!