Hacker News new | ask | show | jobs
by kasperl 31 days ago
Arguments like --greeting are the named arguments:

https://docs.toit.io/language/beginner/lists-and-functions/#...

The name argument is positional here.

2 comments

Feedback for the doc writers on this then, the phrase in my head of "the name of the named argument is greeting, name is not named" is a little awkward.
:)
Named, sorry, I misspoke!