3 ms·
Labeled parameters are optional. In fact they're so optional, that you don't even have to label all of the parameters at a call site (just the ones that appear
by noblethrasher 13y ago
Labeled parameters are optional. In fact they're so optional, that you don't even have to label all of the parameters at a call site (just the ones that appear after the first labeled parameter).
So with that (mis)feature, eliding commas would make a lot of code harder to reader.
- masklinn 13y ago> So with that (mis)feature, eliding commas would make a lot of code harder to reader. Not really. Lisps get by without them and it doesn't have formal keyword parameters.
- noblethrasher 13y agoTrue, but that's an advantage of Lisp's uniformity. Imagine passing a query comprehension (or two) as arguments. Foo(from n in range select n * n into: from n in range where n % 2 == 0 select n)