> with alternatives you can easily make errors in and which make understanding the code harder
blacklist/whitelist => blocklist/allowlist
how's that making the code harder to understand ? or errorprone ?
blacklist/whitelist => blocklist/allowlist
how's that making the code harder to understand ? or errorprone ?
Master/Slave demonstrate this better. For example, in the context of pseudoterminals, primary/secondary is certainly not precise words to use, it is quite hard to come up with "obvious" words without re-educating everyone. (oh, and it's baked in the API name in various specifications, like "ptsname" => "pseudo terminal slave name")
This change seems to actually bring in better terms and clearly understandable.
https://go-review.googlesource.com/c/go/+/236857/5/src/os/si...