Reply to post: I think I found the problem...

if dev == woman then dont_be(asshole): Stack Overflow tries again to be more friendly to non-male non-pasty coders

Dodgy Dave
Coat

I think I found the problem...

The code 'if dev == woman ...' only works if there's a single woman in development, and you're testing to see if this is her.

Better would be 'if isWoman(dev) ...' to allow _any_ developer to, er, identify as a woman.

I would have suggested 'if isinstance(dev, Woman) ...' but that would be objectifying women...

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

SUBSCRIBE TO OUR WEEKLY TECH NEWSLETTER

Biting the hand that feeds IT © 1998–2019