@mushroom_soup
Technically it is discrimination. But it's also discrimination if you "discriminate" by hiring competent people.
So then, what he's really asking is if it's illegal discrimination. And technically, as far as I know, it is not illegal to discriminate based on name. But the issue is that it can be argued that you're using the name as a means to discriminate based on sex and/or race/ethnicity.