Julia's Design Choices for Positional vs Keyword Arguments in Function Calls and Broadcasting #57712
vishalpaudel
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Recently I have been feeling more and more ways to realise that julia is well designed. One instance of this is when I realized something about keyword arguments, and why non keyword arguments are unmentionable in function calls. I mean:
In python:
Julia takes a clear stance on this, the reason for this to me, even still, was only partially motivated, until today when I found myself thinking about broadcasting over keyword arguments.
The docs mentioned this:
I don't have a use-case for broadcasting over keyword arguments, but
Could someone kindly clarify, I am just curious about both of the decisions and if there is any connection between both of these design choices?
Beta Was this translation helpful? Give feedback.
All reactions