-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New principle: name things for what they do, not how they do it #507
Comments
In the translation case, the fact that the API can be backed by LLMs is an implementation detail. "Do not expose implementation details in naming." |
Big +1 to either formulation. |
I wonder how this design principle would look on existing APIs like Or even things like "CSS": should it be "style and layout control" instead of talking about the specific mechanisms behind such control? |
We already have |
I found that I needed to redo the whole section here. Changing the focus seemed better than adding text. This is more text, but not a lot more. Future-proofing is one motivation, but it's not the real motivation for these recommendations. I also found the key event example to be spectacularly non-compelling. It even made me think that it is almost a bad example. Key events can be synthesized by speech recognition tools in some cases. To that end, I chose an example that I'm more familiar with. Closes w3ctag#507.
This was brought up in our discussion of the Web Translation API.
In that example, the means by which translation is accomplished, AI (or ML), was used as part of the name.
The text was updated successfully, but these errors were encountered: