Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"stutter" could be considered ableist language? #3521

Closed
klausi opened this issue Dec 9, 2018 · 6 comments
Closed

"stutter" could be considered ableist language? #3521

klausi opened this issue Dec 9, 2018 · 6 comments
Labels
good-first-issue These issues are a good way to get started with Clippy L-guidelines Lint: Related to the Rust API Guidelines

Comments

@klausi
Copy link
Contributor

klausi commented Dec 9, 2018

Hi,

thanks for clippy, a great tool!

I just discovered the "stutter" lint at https://rust-lang.github.io/rust-clippy/master/#stutter and found the naming quite disturbing. Repeating names in source code is by no way comparable to people with a stuttering disability. The Rust code of conduct is committed to a friendly environment for people with a disability and I think the "stutter" wording violates that.

Proposed solution: rename the "stutter" lint to "module_name_repeat", which is more descriptive.

2 disclaimers: I'm not a native English speaker and I don't have a stuttering disability.

@Manishearth
Copy link
Member

We could rename the lint and keep the old name as a redirect, if possible.

"stutter" in English can just mean "repetition", but I don't see a big reason to not change this.

@mati865
Copy link
Contributor

mati865 commented Dec 9, 2018

CC #2845

@klausi
Copy link
Contributor Author

klausi commented Dec 9, 2018

I disagree a bit on the simple repetition meaning, everything I could find about stutter online would point me to the speech disorder first.

Put another way: I would not call the DRY principle (Don't Repeat Yourself) in software development equivalent to calling it the DS principle (Don't Stutter). I think that would be quite offensive.

@Manishearth
Copy link
Member

I'm specifically talking of repetition of words; DRY is different.

@oli-obk oli-obk added good-first-issue These issues are a good way to get started with Clippy L-guidelines Lint: Related to the Rust API Guidelines labels Dec 10, 2018
@klausi
Copy link
Contributor Author

klausi commented Dec 16, 2018

Now that @oli-obk has added the "good first issue" tag I will try to come up with a PR to change this. I see some confused/thumbs down emojis here, please let me know if we missed any reasons not to change this.

bors added a commit that referenced this issue Dec 18, 2018
chore(module_name_repeat): Rename stutter lint to module_name_repeat to avoid ableist language

See #3521
bors added a commit that referenced this issue Dec 18, 2018
chore(module_name_repeat): Rename stutter lint to module_name_repeat to avoid ableist language

See #3521
@klausi
Copy link
Contributor Author

klausi commented Dec 18, 2018

My PR was completed by @flip1995 and merged, so I think we are done here. Thanks everyone!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good-first-issue These issues are a good way to get started with Clippy L-guidelines Lint: Related to the Rust API Guidelines
Projects
None yet
Development

No branches or pull requests

4 participants