That's a Code of Conduct violation. It's not the 90s anymore, there's no quarter for this type of thing in modern development teams. Rust's style checker even flags up the use problematic magic numbers.
This is only for rustc, not for arbitrary rust programs.
Wouldn't rustc flagging "problematic" numbers prevent arbitrary rust programs from having them in the source?
No. These tests are part of rustc’s tests, not part of anything that runs for arbitrary Rust programs.
He means that the style checker only checks for those sorts of numbers in the source code to rustc.
But the point remains: there is far, far less tolerance for the sort of humor that objectifies women today, and even laughing at it can get you in trouble as Tim Peters recently found out.
Excuse me, but men can have boobs too.
I mean, 0xDDDB00B5 is about as appropriate in a codebase as 0xB166D1C5 or 0x73571C23 would be. Which is to say, it isn’t.
You're offended if someone wrote "testicle" in source code? Are you also offended about "ankle" or "hair"? The puritanism...
I’m not offended. It is unprofessional. Talking about sex at a workplace that is not about sex is going to be offputting to many people who are not there to have sex.
The mere mention of the word "testicle" makes you think that your coworkers want to have sex with you? Wow.
Have you tried talking about testicles in a work meeting? Genuine question.
There's a difference between "talking about it" and "the word is uttered somehow at some point".
A constant in a codebase is not “uttered somehow at some point.” It is a fixture for everyone to see until it is changed by another commit.
What objectionable thing is 0x73571C23 supposed to be?