I’ve only ever seen the first version used - I honestly thought the second form would be a syntax error until I tried it myself. Note that you can get most of the features of Parameters.@with_kw with the built-in Base.@kwdef macro.
6 Likes