The Case for Kotlin and Ceylon
summary
Argues Java lags on language design and shows concrete advantages: Kotlin supports null-safe types, compiles with Java incrementally and uses build scripts as build.gradle.kts; Ceylon puts modules and union types into the language, favors immutable bindings and module-aware packaging. Demos include factorial using BigInteger, an anagrams program, and KotlinTest property-based tests; code targets JVM and JavaScript and will be published on GitHub. Claims incremental migration (Kotlin) versus module-first replacement (Ceylon).
AI-written summary · about
chapters (19)
- 0:00Introduction to Kotlin and Ceylon
- 2:09Java's stagnation and JVM alternatives
- 6:13Static vs dynamic compilation
- 6:57Philosophy of change in programming
- 14:33Java, JVM, and the rise of Scala
- 16:20Kotlin vs Ceylon design goals
- 18:13Type systems and null safety
- 21:48Code examples and language features
- 25:01Hello World in Ceylon
- 28:55Ceylon modules and build systems
- 31:00Factorial example in Ceylon
- 35:25Immutability and variable declarations
- 37:57Functional programming in Kotlin
- 38:39Kotlin as a build script language
- 40:28Factorial example in Kotlin
- 45:58Audience choice: anagrams or word count
- 47:46Anagrams program in Kotlin
- 52:24Testing and property-based validation
- 54:50Summary and closing remarks
