Placeholder Syntax

But most of these simple closures only have one argument, so that doesn't make it shorter?

Also, a general downfall of all the "each _ is a separate closure parameter" proposals is that quite often, especially with iterators, you work with a n-tuple instead of n individual arguments which is impossible with the shorthand (_.0 + _.1 would not work).

1 Like