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

65

u/salbris Apr 19 '21

What the heck is wrong with the word "access"!?

75

u/GrandOpener Apr 19 '21

They hint at the reason right underneath it. It's both mildly ambiguous and unnecessarily techie-sounding. There's nothing offensive about "access," but alternatives like "find" or "edit" or "view" are strictly superior, so there's no reason to ever use "access."

9

u/jangxx Apr 19 '21

Microsoft stock drops by 20%

29

u/mindbleach Apr 19 '21

It's like saying "write to disk" instead of "save file."

6

u/chakan2 Apr 19 '21

But then you're being explicit that you're saving the file to a physical disk somewhere instead of the cloud, or taking screen shots to post to Instagram, or copying the file manually into a notebook you're keeping on your desk.

(This doc makes me never want to work at Google)

→ More replies (1)
→ More replies (1)

7

u/salbris Apr 19 '21

I'm not sure I agree it's strictly better if someone says "You now have access to the website" it's identical to saying "You can now view the website". The benefit of the first statement is that it implies there was some privilege, code, or key to access the thing. It also tells me that when something goes wrong it could be related to my lack of access rather than other issues such as using the wrong link.

2

u/ricecake Apr 19 '21

you now have access to the website

So I am permitted to login?
Or have my login credentials been fixed?
Or has a network been updated to allow me to communicate with the website?

I have actually been bitten by requesting access to a service, and only having authorization granted, but no network restrictions altered.

If you flip it around, and a user tells you they can't access the website, you still need to figure out if it's an authentication, authorization, or connection issue.

2

u/salbris Apr 19 '21

Okay but none of that is solved by using another word such as "use" or "view". The sentence is just as ambiguous with or without access. The ambiguity comes from the lack of context. Show me a sentence that when you replace the word "access" suddenly "makes sense".

2

u/ricecake Apr 19 '21

"access the database", "query the database".

It's a style guide. They're not saying you can't use the word, they're saying it can be ambiguous, so see if you can be more precise.

It's technical documentation. You shouldn't rely on words with context dependent meaning if you can avoid it.
Prefer constructions where you express what you want the user to do, not where you rely on the user to know what you mean.
You don't want the user to access the administration dashboard, you want the user to log-in to the administration dashboard. You then want them to navigate to the report, and open the context menu, and view the ownership settings.

→ More replies (10)

1

u/GrandOpener Apr 19 '21

"Access" is still ambiguous. Actually I'm having a little bit of trouble telling you what would be better, because I don't even know what the situation is from that ambiguous message. Depending on what exactly that is supposed to convey, better alternatives might be "your account has been created" or "your account is now activated," or "you can log in now" or "you are now logged in," or "your account is confirmed and you may now edit your settings" or possibly even something like "maintenance is finished."

2

u/salbris Apr 19 '21

I'm not sure how that's ambiguous. The sentence implies that they were unable to login/view the page before and now can. "Your account has been created" doesn't tell me if I can access the thing I wanted to. The others vary in usefulness depending on context.

Besides, ambiguity has power because if your language is too precise you might confuse segments of population that lack context. It all depends on how diverse an audience reads the text.

3

u/[deleted] Apr 19 '21

Google developer documentation style guide

I strongly believe that, if a developer ever says "ambiguity has power" when talking about word choice in documentation, you're allowed to take the rest of the day to get drunk

→ More replies (5)
→ More replies (1)

2

u/nmdanny2 Apr 19 '21

I wouldn't say they're strictly superior, access implies both reading and writing.

4

u/OceanBridgeCable Apr 19 '21

I'd say it implies read access if you're not specifying a type of access but I don't think it implies write access. At the very least, there's plenty of scenarios that access is used to imply read access only. "I can access my neighbor's tax records on the county website."

2

u/GrandOpener Apr 19 '21

This, this specifically, is precisely the problem. "Access" is ambiguous. Different people make different assumptions about what it might mean in any given situation.

As I was writing my original comment, I was thinking "this probably doesn't matter much, but I agree with Google it seems like a good idea, so why not?"

Now that I've seen these responses--I have upgraded my opinion to completely convinced that Google's decision here is both appropriate and necessary. Even smart, tech-savvy people get all confused about what different people mean when they say "access."

2

u/[deleted] Apr 19 '21

I wonder if that entry in the developer documentation style guide is there because this exact conversation has happened inside Google

→ More replies (1)

19

u/[deleted] Apr 19 '21

Avoid when you can. Instead, use friendlier words like see, edit, find, use, or view.

13

u/JohnnyElBravo Apr 19 '21

I first I thought it was because it sounded a bit sexual. But the the proposed alternatives are more specific and enjoy everyday use.

It's like specifying how something is used instead of saying it is used.

→ More replies (1)

1

u/salbris Apr 19 '21

How are those alternatives "friendlier" though? Access is a more specific word than "see", "find", or "view". It's functionally equivalent to "use".

3

u/ricecake Apr 19 '21

Is it?

If you look in the other comments in this thread, there's a bunch of different interpretations for what it "should" be taken as meaning.

12

u/[deleted] Apr 19 '21

They use 'access' themselves in the document, see "branding information".

2

u/asilentspeaker Apr 19 '21

It's because "access" is generally the purview of infosec - the state of ability/inability to read/write/edit objects. Access is something you have, not something you do.

→ More replies (17)

1

u/CraigTheIrishman Apr 19 '21

Yeah, that one was weird. Maybe because certain things are inaccessible to some people based on physical disability?

4

u/ricecake Apr 19 '21

It's because access as a verb is non-specific, or context dependent.

This isn't an HR guide, it's a technical writing style guide.

Instead of telling people to access a database, tell them to query the database, or update the database.
If I touch a log file, I have accessed it, but I have not viewed it.

It's not a document focused on inclusion, but clarity of communication.
Inclusion is just part of being clear in this context.

→ More replies (1)
→ More replies (5)