|
|
|
|
|
by allknowingfrog
530 days ago
|
|
We already had "_1", "_2", etc., for inline block arguments. Adding "it" increases the surface area of the language without adding any new functionality. I think the underscored names are actually better for readability. They jump out at me, while "it" looks like every other variable name. items.map { foo(_1) }
items.map { foo(it) }
|
|