3 ms·
RE: Typed functions: Kotlin lives on top of a statically typed architecture, so I think you do have to make that function typed. Some languages get around this
by striking 9y ago
RE: Typed functions:
Kotlin lives on top of a statically typed architecture, so I think you do have to make that function typed. Some languages get around this requirement by inferring types, but type inference itself can then become Turing complete...
So it's not like there's a "healthy option". It's more that you're choosing the poison you prefer.