If on the other hand you're competing with senior sw devs with 5+ years of experience, there could also be other factors to keep in mind (age, ability in very specific tech stacks, etc).
I think companies are still hiring, but more focused, unlike in 2021-2022 when they over-hired "just in case".
Welcome to my world.
In-company recruiters are often quite helpful and accommodating, but, as soon as one single tech person gets involved, the temperature drops 30 degrees.
Standalone recruiters send me these breathless emails, extolling my qualifications, but, as soon as they find out my age, they ghost me. I have actually had recruiters hang up on me, as soon as I told them my age. I learned to just mention that up front, to get the ghosting out of the way.
Apparently, they aren't very good at math. I list 30 years+ experience, yet they seem to think that I'm under 35.
After a while, I just gave up, and accepted that I'm retired.
It's not the money; it's the "culture." Many folks, much younger, and much more inexperienced, are paid more than I ever made, in my entire career. I would have gladly accepted less money than I had made before. I don't really need it. The work is what interests me.
We need an acceptable way to express this, without desperately extolling you'll take less money. I think a lot of us "old guys" are in the same boat; I don't need 150k, I'll take 100k if the work is interesting, and I'm more likely to be loyal to boot.
The funny thing, is that I've been told that "Old people are just cruising to retirement," but it's OK to establish your entire business infrastructure on the idea that your young, energetic, engineers will not remain at the company for more than 18 months.
That is just BS. In my company we have quite a few 50+ and it's nice to work with them. They add exactly what younger people can't.
Reality is: They need to squeeze every dollar as much as they can. If they could, they would never hire:
1. People with kids
2. Older than 33-35 (more often than not also 1)
3. Disabled
4. Often sick People (give me your history of sick leave, that kind of stuff)
5. Anything else I am missing?
Just freaking replaceable robots.
Yeah, it's a tough nut.
It's understandable that SV companies want ambitious strivers that move on every 2 years, for the same reason many of these CEOs consider the "job done" as soon as they get "an exit". The life of the company is measured in months.
But if you're building a company for the long term, you need smart, loyal people who build institutional knowlededge within the company. This isn't something you can fast track, I don't care if you're the brightest MIT AI grad.
You need both.
It's probably not even legal to ask in some jurisdictions.
They just start saying "Hello?, Hello?, Are you there?," etc. It's a convenient way to hang up on people.
Things like age, gender, and ethnic group are harder because you can't always conceal that. Still, "don't ask, don't tell" during the hiring process seems like the best option here.
Also, don't be above lying about your age.
I don't lie; especially in my profession. It's a thing. I know that personal Integrity is considered a "quaint anachronism," in today's world, but I won't compromise on that.
I'm not disagreeing with you per se, but the tech economy seems much worse recently and I don't think I'm suddenly worse, stale, or less productive.