Yes, but it’s not quite the same. You can write
foo(a, b; c=0, d=1) = nothing
Then c and d are keyword arguments. But, unlike Python, you must always specify the keyword name in Julia, and you can never do it for positional arguments.
Yes, but it’s not quite the same. You can write
foo(a, b; c=0, d=1) = nothing
Then c and d are keyword arguments. But, unlike Python, you must always specify the keyword name in Julia, and you can never do it for positional arguments.