I'd originally answered this by saying that one should remove offensive language from code blocks, but that changing variable names and things around was probably not the best use of the peer review system. I've changed my opinion on that, and this is why:
I originally thought "Well, variables? like .. $variableOne
? and tried to imagine the most egregious extent that they might be gendered and reinforcing of a bad stereotype and I wasn't coming up with much. In reality, there are enough cases where many default to men instead of a broader sense of people when we make assumptions about who writes code.
I don't want to set policy that discourages editing posts to be more overtly welcoming. And I think that's a good enough reason to enter into an edit.
You will hear me talk about not wanting to gloss over history, but that's (as many pointed out) why we have revisions. In 100 years as people look back on us, it's all there if you dig.
So note, my primary concern is still make good use of reviewer's time. If you enter into an edit to make the language more overtly inclusive, great, but please try to fix everything else that might need shining up too.
Also, it's usually not a great idea to edit code in a question beyond fixing formatting, because that could obfuscate the actual cause of the problem.
And, well, don't get into edit wars.
Newer folks, the threshold at which we consider an edit a little too trivial to take time in the suggested edit queue is still rather hazy. That's because when we launched the feature, so many tiny but helpful corrections almost resulted in a system overload, and a backlog that took a huge amount of time to process. It's not that we don't want the content to improve, it's that we're working within the limitations of a collaborative system.
Hence, if your edit is declined and you really feel like it's necessary to keep parts of our content open for anyone to identify with, you can reach out to us or flag it for moderator attention (use the "other" flag and explain the need for the edit).
girl
.