I can't approve of that attitude.
Why not?
Most companies that end up with that kind of hardcore legacy code a) refuse to upgrade on a reasonable basis and b) refuse to compensate their developers in proportion to the value they ultimately deliver.
So, fuck'em. Might as well enjoy the pseudo pension.