4 ms·
> One could imagine a language It's called Kotlin. Of course this is a relatively minor feature and few C-like or ML-like languages have it. Using it against
by Kinrany 5y ago
> One could imagine a language
It's called Kotlin.
Of course this is a relatively minor feature and few C-like or ML-like languages have it. Using it against Smalltalk is a bit unfair.
- jrochkind1 5y agoOh 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.