styleguide/inclusive_naming_guide.md
We write our code, documentation, review comments, and other assets with inclusivity and diversity in mind. This page is not an exhaustive reference but describes some general guidelines and examples that illustrate some best practices to follow. These are only suggestions. The author, reviewers, and project maintainers will make the final call.
When trying to achieve a friendly and conversational tone, problematic ableist language may slip in. This can come in the form of figures of speech and other turns of phrase. Be sensitive to your word choice, especially when aiming for an informal tone. Choose alternative words depending on the context.
Things to avoid:
How to fix ableist language:
Some points in our code, documentation and comments contain needless assumptions about the gender of a future reader, user, etc. Example: “When the user logs into his profile.”
Things to avoid:
Cases that are likely fine to leave alone include:
How to fix gendered language:
Some phrases have underlying racial connotations, or reinforce the notion that some races are better than others.
Things to avoid:
How to fix racist language: