Are you really less effective? I would assume that experience would be a big help in making a developer more effective? Or are you saying you may be as effective, but not as able to work the crazy hours that still seem to be far too common in the industry?
Yeah I get a lot more done in a shorter amount of time at 42 than 19, but the 20 hour days are really punishing, although offset by being able to work some of it remote, but for companies that chart success by sheer number of hours and face time clocked rather than projects completed these are in general a poor match for any effective developer.
I'm 29, and I have already started feeling this. Just a few years ago, I could do 12-14h coding days sustainably, but now, anything above 11h sustained for weeks really shows in my output quality. Luckily, my overall productivity is still rising due to learning and experience, despite the degrading mental capabilities. I don't know what me at 35 will look like. I now see where the ageism comes from.
I find it incredibly sad that I even need to think about this. I regret that I even participated in this circus in the first place. I now only work for companies with don't have the ass-in-seats-for-80h policy. It's actually interesting that in startups where this works, people self-select and end up there. It's amazing how much more you can achieve if you can afford to take a step back, and not worry how you can run in circles even farther and faster.
This. I am willing to work fewer hours a week now. For most of my career, I set a maximum of 32 hours a week to work (not counting writing activities). I now work much less than that.
There is a lot of value in having someone who is always available. That is not me since I work in spurts, with long breaks. I think lack of always on, immediate availability is important for some projects, and I am unwilling to do that.