Re:Ruby 2.0.0 Released
by grey-area on Sunday February 24, 2013 @06:33PM
(#5276456)
yes I see your point, it just feels inconsistent somehow, as named parameters are nicely self-documenting, could be used to generate docs etc, but that's probably just a foolish consistency. In your example you could be cute and have something like:
which would be just as nice. But I'm sure there are places where this will be useful/necessary, in your chained example with single args it feels forced to have to name them.
[ Parent
| on HN ]
There are no comments on this comment yet.