DEV Community

Cover image for Practicing politeness in JavaScript code 🀬

Practicing politeness in JavaScript code 🀬

Ali nazari on July 09, 2024

Imagine that you published a big open source project and many people are currently changing your code or updating the project documents. what if s...
Collapse
 
jonrandy profile image
Jon Randy πŸŽ–οΈ β€’
warning  `boogeyman` may be insensitive, use `boogeymonster` instead  boogeyman-boogeywoman  retext-equality
Enter fullscreen mode Exit fullscreen mode

I have no words. This is completely ridiculous

Collapse
 
silentwatcher_95 profile image
Ali nazari β€’

true 🀣🀌🏻

Collapse
 
jonrandy profile image
Jon Randy πŸŽ–οΈ β€’ β€’ Edited

Also, this kind of thing (whether a document is not 'inclusive', or is 'offensive') should be determined/resolved by the normal process of PRs and review/discussion - not arbitrary decision making by a dumb model that has no idea or understanding about context, sarcasm, intent, etc.

This really feels like a solution looking for a problem.

Thread Thread
 
instalab profile image
Samuel Boczek β€’

Might be useful for checking and refactoring old documents, but I agree that you should not just treat the this tools as an end all solution.

Thread Thread
 
silentwatcher_95 profile image
Ali nazari β€’

thank you for your feedback πŸ€—

Collapse
 
ngdangtu profile image
Đăng TΓΊ β€’

What is this abormination?!!! Why would anyone spending their time to create such a tasteless tool like this? What a waste of time!

Collapse
 
silentwatcher_95 profile image
Ali nazari β€’

πŸ™

Collapse
 
best_codes profile image
Best Codes β€’

People don't understand. πŸ˜•
I can understand, though. πŸ™‚

Collapse
 
pauluz profile image
Paul Canning β€’

Is this a late April Fools?

Collapse
 
silentwatcher_95 profile image
Ali nazari β€’

Maybe, who knows! πŸ˜πŸ‘€

Collapse
 
click2install profile image
click2install β€’

Humanity is doomed.

Collapse
 
silentwatcher_95 profile image
Ali nazari β€’

However, it can still be viewed as a fun tool. 😏

Collapse
 
tullaris profile image
JoΓ£o Almeida β€’

Lol good luck writing "merged changes to 'master'"

Collapse
 
silentwatcher_95 profile image
Ali nazari β€’

🫑

Collapse
 
kocreative profile image
Kat β€’

Seems like a great little tool! Thank you for bringing it to my attention :)

Collapse
 
silentwatcher_95 profile image
Ali nazari β€’

Thank you for your positive feedback! πŸ€—

Collapse
 
edwin_teisman_fcac5dd744a profile image
Edwin Teisman β€’

Nice little joke you got there. Probably some conservative who wants promote the anti woke movement. They'll follow up with a post against wokeness on Twitter or Reddit

Collapse
 
scarylerie profile image
ScaryLerie β€’

Unnecessary.

Collapse
 
silentwatcher_95 profile image
Ali nazari β€’

thank you for your feedback sir πŸ«‘πŸ‘‘

Collapse
 
simonoop profile image
simonoop β€’

What the hell has happened to the freaking world? What's next? Enforcing git branch names?!?!! Oh wait ..

Collapse
 
eevargas profile image
Eli Vargas β€’

I feel offended by this tool 🀣
Wow the levels that we are reaching now. We are doomed πŸ˜”

Collapse
 
silentwatcher_95 profile image
Ali nazari β€’

I am slowly thinking that it would have been better if I had not used the example in the documentation of this tool 😡😷
The situation is getting worse 🀣🀣

Collapse
 
isaac0yen profile image
Oyeniyi Isaac β€’

So this library has a list of keywords and loops through the text to return the ones in the list?

But somehow, is very importantΒΏ

Collapse
 
retakenroots profile image
Rene Kootstra β€’ β€’ Edited

Yet another example of how to build a cluttered build pipeline.

Collapse
 
silentwatcher_95 profile image
Ali nazari β€’

πŸ‘€

Collapse
 
array_dot_reduce profile image
Bhaskar Ghale β€’

I can see value the value in this tool...

But the example is purely engagement-bait isn't it?
I don't blame you. The number of comments speaks for itself, mine included. πŸ€·β€β™‚οΈ

Collapse
 
silentwatcher_95 profile image
Ali nazari β€’

I used the example of the documentation in here But I am pleased to see that it is driving engagement. πŸ€—πŸ“ˆπŸ“ˆ

Collapse
 
anotherguy profile image
Igor Soloydenko β€’

The example used is crazy. The tool would be helpful if it checked specifically for slurs and derogatory language.

Collapse
 
silentwatcher_95 profile image
Ali nazari β€’

I’m not sure but I think it detects slurs too

Collapse
 
f1nn0s profile image
Finn Mohr β€’

Lol....What is available in these days is unbelievable.
I'm always surprised 🀣

Collapse
 
silentwatcher_95 profile image
Ali nazari β€’

If I say that the idea of ​​this project has been around for a long time and it has only become more complete, it might spoil it more 😏🀣

Collapse
 
kodi_nel_73c9ae00a6231154 profile image
Kodi Nel β€’

What a waste of time and energy.

Collapse
 
silentwatcher_95 profile image
Ali nazari β€’

Thank you for your feedback sir 🫑

Collapse
 
sinan_guclu_6d6c789542d57 profile image
Sinan Guclu β€’

Thankyou, our code can now be censored according to your moral code. I was thinking maybe a way for us to separate acceptances but.. I dont think its possible. This tool is biased before it starts. It'd just a don't get cancelled linter.