I don't think it is too hard to do both. Last night I got home from a night out with friends at about 2:30 AM. I then wrote a blog post, wrote a little code, compiled and fooled around with GIT before going to sleep at 5:00 AM.
Having a social life is pretty much the best counterbalance to a career in software development. If you don't have one, you're doing it wrong.