Kotlin is a programming language made by JetBrains (the same company behind IDEs such as IntelliJ). I see it as “modern Java” because it significantly reduces boilerplate code and introduces patterns for writing more functional code.
Starting a new Project
Even though I’m not a big fan of Gradle (🙅 I Don’t Like Gradle), it’s still the build system I use for Kotlin.
Starting a new project can be done using
Reading Resource Files
Don’t forget to add /
before the resource location! For example, if the file is resources/repositories.yaml
then the resource URL is /repositories.yaml
.
Charts
Kotlin has a system similar to Jupyter Notebooks, which is called Kotlin Notebooks. Charts can be rendered using Kotlin’s Plotting Library Kandy.
Other plotting libraries:
- AAY-chart: Kotlin Multiplatform, but it’s unclear how this is supposed to be used exactly.
- plotly.kt: Medium article about the tool