Nothing like retiring with only 3 years worth of savings and no plan on what to do after that.
If you don't need to support a family and are unhappy otherwise, why not?
Sure it's not 'the smart thing to do' but if it makes you happy and you're still not far worse of than most people...
They didn't say that they are retiring, just that they are ending their career as a software engineer.