From a lot of unfortunate experience: tech people suck at following these rules.
You could see what neighborhood someone lives in because that will also be typically included on a resume too. Why would you hire someone who can't even put their street address on their resume? Sure, a street address doesn't have much significance to /most/ hiring decisions, although if you knew a candidate would have a 100 mile commute each day, choosing someone who lived around the corner would make a lot of sense if the job required call-out or easy access to the office.
And so it goes. You'll see someone's race at interview. You can probably even figure out if someone's married (presence of a ring). It seems crazy to make it illegal to ask these questions. Instead, it should be law that it's optional for the candidate to ANSWER them.
What I'm asking is, one reasonable person to another, what possible reason could you have for wanting to know the age of an applicant? It is legal to ask if a candidate can legally work full time for you. Why would you ask anything more?
That opens another can of worms. Any refusal to answer implies something to hide, which would be an immediate red flag.
I mean, women do it all the time.
Isn't every question optional? It's not like you go to jail if you don't answer a question. It's not a good strategy, but AFAIK it is legal
how do you know if you don't ask?