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
Unify argument names for assignment, binary, unary operators #18650
Comments
I feel pretty unhappy about I feel better about For I'm not crazy about I also wonder how strict we want to be with these vs. thinking of them as guidelines if you have no better ideas. For example, for a Pointing out the obvious: these names currently only matter for the documentation and implementation of the routines since operators are currently infix, so can't be called in a "pass by keyword" style. That said, at times in the project's history, we've discussed permitting operators be called in a prefix-parenthesized mode (e.g., |
FWIW I'd be happy with @bradcray's suggestion above - |
Since operator argument names can't be referenced by users, we've decided not to stabilize these for 2.0 (but will probably look into unifying them later) |
Currently, among the different data structures, there are various argument names for assignment, binary, and unary operators, but these would make sense to unify. Capturing some proposals that have been brought up in conversation below, please comment any additional proposals that you have in mind.
Proposed argument naming conventions
At some point, a straw poll would probably be the quickest way to settle these for the individual cases, but thought it would be worthwhile to collect all proposals first.
The text was updated successfully, but these errors were encountered: