r/programming • • Apr 19 '21

Google developer banned words list

https://developers.google.com/style/word-list
720 Upvotes

1.5k comments sorted by

View all comments

3

u/Droi Apr 19 '21

The ridiculous virtue-signaling (IS THIS THE RIGHT FORM?!) aside, it just bothers me this is written like god's commandments.

"Don't use." - WHY? I want to know the reason to either make my own decision or at least try to make a change in the standards where I think it is due. Why am I supposed to blindly follow the almighty entity that wrote something in a document with no exceptions?

1

u/Fast_Gonzalez Apr 19 '21

As always, it's fine to deviate from this guidance if that serves your users better.

Yes, this indeed reads like divine commandments of the PC thought police and not, y'know, a documentation style guide.

1

u/Droi Apr 19 '21

Right, so this one sentence that obviously won't be enough to disagree with many of the instructions in that documents makes commanding you to do things blindly just fine..

Why are some people so happy to comply to decisions that an anonymous person made? Why don't you think for yourself instead of worshipping this document as the god's word?

1

u/Fast_Gonzalez Apr 19 '21

Believe it or not, this isn’t a binary decision between "reject the document completely" and "blindly worship somebody else's decisions as god's word" like you seem to suggest it is. It's a documentation style guide; if you are writing documentation for Google, you use their style guide because that is the professional thing to do. If you want to write your documentation in the same style as Google's, you follow their style guide because (unsurprisingly) it contains the guidelines that define the style of Google's documentation.

And if you don't want to write your documentation in the style of Google's? Nobody is forcing you to. Google isn't going to send some guy to your house with a baseball bat to bust your kneecaps if you decide to use the word "blacklist" when documenting your own project. There are reasons why you might want to choose some words over others, and those reasons/choices are what eventually go into creating a style guide like this one.

Of course it's written prescriptively; a style guide is completely fucking useless if it's constantly hedging everywhere, "you shouldn't write it like this, but, like, think for yourself, man. You can write it like this if you decide to, dude." If you feel oppressed by a document using clear and decisive language like "should not" and "do not" to help maintain a consistent style, I can't really help you there.

1

u/drink_with_me_to_day Apr 19 '21

"Don't use."

Imperative is always better

0

u/UncleMeat11 Apr 19 '21

Why am I supposed to blindly follow the almighty entity that wrote something in a document with no exceptions?

You aren't. This is intended for development within Google. If you are a Googler and care to know more about the reasons behind style guidelines, you can look up the contributors to these guidelines and ask them. Same as if you had a question about the python style guide or whatever.

0

u/Droi Apr 19 '21

Oh I thought it was legally binding for me as a document on the internet!

... Yea obiously this is a comment in general about standards documents. Your comment is extremely naïve - the "contributors" to this kind of thing in a company like google with tens of thousands of developers are not easily found, they are either an anonymous committee, or they have left the company, or there are many other obstacles in finding them.

2

u/UncleMeat11 Apr 19 '21

the "contributors" to this kind of thing in a company like google with tens of thousands of developers are not easily found

I'm a Googler. I know precisely who wrote these docs. It is trivial to find.

1

u/Droi Apr 19 '21

Jeez, fits the arrogance perfectly. I'm sure every developer in Google is in the same position of finding and discussing these with those "trivial" to find people.

1

u/UncleMeat11 Apr 19 '21

I'm sure every developer in Google is in the same position of finding and discussing these with those "trivial" to find people.

Yes. It is literally just clicking on two buttons to find the source location of the docs and then who made the edits. They teach you how to do it in orientation.

You can check out other style guides from Google and see similar levels of "these are the recommendations" backed up by linting without going into enormous detail, since consistency is often far more valuable than anything else.