Oddbean new post about | logout
 What I really like about #Kotlin is that the popular libraries tend to be based on common-sense. You look at a sample, and you understand it.

Here's a sample that I discovered and understood in seconds, showing me how to define reusable CLI sub-commands in multiple subprojects: https://ajalt.github.io/clikt/commands/

Scala's libs in this space (case-app, decline, mainargs, scopt,...) are based on compiler magic or weird data structures, have poor docs, and I can't tell if they get the job done 🤷‍♂️