I’m 28, half way through my computer science PhD and looking at developer jobs available and seeing what I might be able to go for when I finish. I panic some days that I should have done something more hands on (I’ve started several threads here saying I’m going to pack it in/worried about my future etc). I am a bit of a “Grass is greener” kind of person though and I know if I hadn’t gone to uni to do my degree/PhD I would have looked back on the decision and regretted it.
I think everyone has doubts about their career choice at some point, some more often than others. If you are a good developer (And must be to be a senior dev), then can’t you look for a more exciting role in the same industry? If you are bored at work then I think it’s your employers fault – they should be pushing you towards projects that interest you (Thus making you fitter, happier, more productive).
There are exciting jobs out there, and as a developer you have a powerful position as there are jobs for you in pretty much every industry (I was looking at jobs developing agricultural irrigation systems, remote sensing algorithms, games development, trading… the list goes on etc).
I can’t really help as I haven’t felt the despair of the industry (Yet), but this is my inexperienced and perhaps rose tinted view of the situation.