-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
add NEWS.md entry for deprecation of Array(T, dims...) #21857
Conversation
NEWS.md
Outdated
@@ -439,6 +439,11 @@ Deprecated or removed | |||
|
|||
* `cummin` and `cummax` have been deprecated in favor of `accumulate`. | |||
|
|||
* The idiosyncratic `Array` constructor syntax `Array(T, dims...)` has been deprecated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
idiosyncratic
I am learning so many new English words reading your PR's :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the old syntax does match how you would call zeros
or ones
... though those aren't constructors
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you prefer different wording? For example "The zeros(T, dims...)
/ones(T, dims...)
-like Array
constructor syntax Array(T, dims...)
..."? Or something else? Best! :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's okay, I just wouldn't have used the word idiosyncratic here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"idiosyncratic" and "more consistent" removed :). Thanks!
Ref. #21475. Best!