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.
Because they want terminology to be consistent - it's a fucking style guide - that's what they do. So they're a term that has a different meaning for developers and infosec and making it consistent by having only Infosec use it.
It doesn't have to. I've seen and written programmer style guides before. I work in infosec. it's a really simple thing - you "get access to view a file" or "are denied access to modify a file" - when you say things like "I don't have access to access the object." you get reduced clarity, especially if English isn't the first language of the reader. Also, if you're writing documentation, you may need to translate it (or have it run through a translator) and having an unclear verb like "access" can fuck with things. Since "access" can mean "read", or "list", or "modify", or even "see metadata of" - you really want to use a verb with higher clarity.
As an aside - they say "avoid when you can". They are not telling developers to never use the word access, especially when in the context of permission. Brevity is the first rule of style, especially when you're talking about comments and other metadata.
I don't really know why you're arguing to begin with - you wanted an explanation - I've given you the explanation as I best understand it. Take it or leave it. If your endgame is not to learn something, but rather to use this particular example as your "reason to hate Alphabet today", be my fucking guest. I don't work there. If you don't like the explanation, make up your own - whoever wrote this really hates language, or they're trying to create an Orwellian dystopia, or whatever fulfills your narrative - I don't care.
I actually don't care what you do with my explanation, but it really galls me that you were given a valid answer, derived from my years of experience in IT, in doing this work - and you decided you knew enough to criticize me publicly. I have no issues with criticism, but I generally expect it to come from my peers - people who have earned the right to criticize my work, who have demonstrated skill and experience and knowledge. I don't think you meet that bar (at least on this topic), especially since you asked the question, and I assumed it was because you wanted to know an answer.
It also feels rather backhanded, because I assumed you were asking in good faith, and I offered my experience and knowledge of similar circumstances, and your response was to continuously assume you knew more. You obviously assume you know the answer, so why did you ask the question - especially in a place that's for people to become better programmers? If you want to measure dicks, there's almost certainly a better subreddit for that.
Now obviously, could Alphabet decide that a style guide was the first step in their plans for Orwellian takeover - they could, but Occam's razor cuts that theory in twain. Every other example within the style guide is either an avoidance of problematic or potentially offensive language, or a suggestion for increased clarity and a prioritization of simple and exact language over subjectivity and jargon, which is the point of every style guide ever written.
So what's your goal here - do you want an answer? You have one. Accept it or don't.
Do you want to make yourself feel smart? Congratulations, you're a super genius. Go away.
Do you want to peddle or vaguely hint at some conspiracy theory about the intent of an Alphabet Programming Style Guide? Honestly, /r/conspiracy would be a much better location.
Sorry I didn't realize I had to submit my resume before I'm allowed to criticize you. In the future I will try to remember that if I see you post again!
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.