4 ms·
Companions are in Kotlin too. Apply and unapply - I never saw this being a problem even for some new programmers switching from Python. Implicits are kinda har
by pkolaczk 7y ago
Companions are in Kotlin too.
Apply and unapply - I never saw this being a problem even for some new programmers switching from Python.
Implicits are kinda harder to use, but this is an advanced feature meant for library writers, not application programmers. Despite their power I find them much nicer to use than c++ templates. And there is nothing comparable in Kotlin, and insufficient abstraction can sometimes lead to actually more complex code than in Scala.