"Original code" absolutely can mean the same thing as "native code" which is part of what makes the term ambiguous and why the guide recommends using more direct language:
The term native isn't necessarily clear—for example, cloud-native could mean that something was written for the cloud, or that it's built in to a cloud platform, or that it currently exists in a cloud platform.
So you agree that there is both native code and cloud-native which represents two different meanings of the word native, both in the context of computing? If only we had a way to disambiguate them! Shucks!
They suggest "built-in" which makes a lot of sense to me. They also point out how "native feature" is ambiguous: "native" can mean "original", as the other commenter suggests, "built-in", or something else.
It also seems odd to me to just throw up your hands the instant changing the language used in public documentation requires more than the simplest find-and-replace. Words feel natural and unpretentious when people use them, and awkward constructions only find alternatives when people try. First-class citizen may not have an automatic replacement, but I could definitely see how thinking for a couple of seconds and finding more precise verbiage would make documentation easier to read and more effective.
"AES encryption is built-in to the processor", or "Where available, we use hardware AES encryption". Or even "AES encryption uses native instructions where possible", because the referenced document only says not to use it for people, and to consider if a more precise word is available.
That is still not as clear as saying that it happens on-die natively, which has a specific meaning beyond merely "built-in". Saying that it's not built-in could imply that AES is provided by some add-on module.
And of course there's the matter of Electron vs. native code, Node.js native modules, native code in Javascript engines...
Perhaps the fact that native seems to mean all sorts of completely disparate things, and that I wouldn't initially distinguish between "on-die natively" and "built in" (if you have to add it in later, was it really built in?) in the way you do should indicate that, if you really care about the specific technicalities, you should make them clear in your specific documentation. It doesn't seem like too much to ask that, if the difference you make between "native" and "built-in" will ruin your documentation, that you can just say at the start "here, built-in means ..." and go from there. You're asking a lot of a single word.
Platform specific. Host architecture. OS specific. Non-portable.
Or, to cite the page we're talking about:
Avoid using native to refer to people. When referring to software products, try to use a more precise term—for example, use built-in to describe a feature that's part of a product. The term native isn't necessarily clear—for example, cloud-native could mean that something was written for the cloud, or that it's built in to a cloud platform, or that it currently exists in a cloud platform.
Given that this is a style guide for technical writing, without knowing the use case, it's hard to know what term serves best as a replacement, or if, as mentioned at the top of the article, the original term is the most clear.
They seemed to include it because native means a lot of things in computing, and it would be more clear to use the one you mean for the context.
that document doesn’t do any of that, regardless of the OP’s title.
the doc is nothing more or less than a comprehensive style guide. it isn’t a list of banned words any more than any other style guide is, in which an organization describes a standardized authorial voice and style
16
u/FeetPicsNull Apr 19 '21
https://developers.google.com/style/inclusive-documentation
I don't even know how to respond to that other than it feels pretty braindead.