logoalt Hacker News

mkl • today at 1:08 PM • 1 reply • view on HN

> The `--named=value` syntax is just a winner

The "--" seems so unnecessary though. Wouldn't "name=" be sufficient to signal a named parameter? Or maybe Toit has expressions that use "=".


Replies

floitsch • today at 1:18 PM

We probably could have made it work without the `--`. Coming from Posix, the `--` feels natural, and it also allows for code completion.