No it isn’t, in fact private companies are encouraged (and in some cases required) to have an affirmative action policy in place.
The thing you think affirmative action means “hiring less qualified employees because of their race” is illegal. You can’t base your hiring decision on someone’s protected characteristics but you are totally free to base other things on that.
Here are some anti-* takes that are totally legal.
* Someone you’re interviewing is Latino that has only worked on small projects or small features and when asked about it they expressed that they always asked to be given bigger projects but was always turned down. You get the feeling that this was likely due to his race and so you don’t hold it against him.
* You’re interviewing a trans woman who recently quit her job while not having anything lined up. She describes the last few months as suddenly having her workload increase, her code reviews getting more critical, and her pto being denied that never had before. By your estimation it seems like she was quiet fired because of her gender alignment and so you don’t consider it a red flag.
* You have the unfortunate task of needing to drastically cut payroll expenses and finance says it will be around 20% of the workforce. You talk to your senior staff and managers to recommend low performing candidates and collect metrics like cards worked and performance reviews. You’re reviewing a woman selected for termination and notice that she seems to be closing more cards than some of her male teammates which is odd, and when you dig into the PRs they’re fine, she’s seemingly not taking on easier work, and from the comments her teammates seem to love her. So you ask the manager’s manager and find out that she’s very much a girls
girl and usually passes on the “boyish” team building activities that always get voted on like doing a work fantasy league and fishing. You think it’s pretty clear what’s going on and pick someone else from that team.
> You get the feeling that this was likely due to his race and so you don’t hold it against him.
What would cause someone to get this feeling? Does a candidate just have to indicate that he wanted bigger projects but didn't get them? Seems like the exact same thing that would happen to someone who was not ready for bigger projects.
Would you do the same thing for a dev with a strong southern accent who worked at a company with mostly left leaning employees?
> Would you do the same thing for a dev with a strong southern accent...
Abso-fucking-lutely. In fact I've actually done something similar, when you work in the somewhat affluent urban blue specs on the political map you will find genuinely talented engineers, usually self-taught too, who grew up in a small town/village and just don't have the usual pedigree of a CS degree from a random college and tech internships. I felt so bad for this one guy we hired, dude was and still is a fucking wizard at networking -- he literally runs his own ISP now as a side hustle but in the interview he didn't even have to say it, it was clear from how defensive he was saying stuff like "I know you would be taking a chance on me", "I would be fine with a probationary period" that he was getting rejected other places. So we had to interview him differently to set him up to show off what he was good at because random whiteboard algo problems wasn't it.
So it's not exactly textbook discrimination, but it is recognizing the systematic disadvantages this guy had as a result of who he is.
The thing you think affirmative action means “hiring less qualified employees because of their race” is illegal. You can’t base your hiring decision on someone’s protected characteristics but you are totally free to base other things on that.
Here are some anti-* takes that are totally legal.
* Someone you’re interviewing is Latino that has only worked on small projects or small features and when asked about it they expressed that they always asked to be given bigger projects but was always turned down. You get the feeling that this was likely due to his race and so you don’t hold it against him.
* You’re interviewing a trans woman who recently quit her job while not having anything lined up. She describes the last few months as suddenly having her workload increase, her code reviews getting more critical, and her pto being denied that never had before. By your estimation it seems like she was quiet fired because of her gender alignment and so you don’t consider it a red flag.
* You have the unfortunate task of needing to drastically cut payroll expenses and finance says it will be around 20% of the workforce. You talk to your senior staff and managers to recommend low performing candidates and collect metrics like cards worked and performance reviews. You’re reviewing a woman selected for termination and notice that she seems to be closing more cards than some of her male teammates which is odd, and when you dig into the PRs they’re fine, she’s seemingly not taking on easier work, and from the comments her teammates seem to love her. So you ask the manager’s manager and find out that she’s very much a girls girl and usually passes on the “boyish” team building activities that always get voted on like doing a work fantasy league and fishing. You think it’s pretty clear what’s going on and pick someone else from that team.