3 ms·
Oh kotlin automatically names arguments for all functions/methods, not just anonymous blocks? I'm obviously not familiar with kotlin. I'd call it "quirky" to
by jrochkind1 5y ago
Oh kotlin automatically names arguments for all functions/methods, not just anonymous blocks?
I'm obviously not familiar with kotlin.
I'd call it "quirky" to suggest that it's more "advanced" to automatically name arguments `it` for all function definitions!
I thought the kotlin enthusiasts were only suggesting it for anonymous inline blocks/closures, but was hypothesizing, ok so would doing it for all functions be even more "advanced"? (Is the answer that kotlin already thinks yes?!)
- Kinrany 5y agoI don't think it's for all functions, sorry.