3. WHY SPRING BOOT?
@nicolas_frankel #kotlin #springboot
4
Convention over
configuration
• Kickstart a project in minutes,
not days
Out-of-the-box features
• Actuator
9. HELLO KOTLIN!
package hello // no semicolons
// namespace-level functions
// types on the right
// no special syntax for arrays
// optional return type
fun main(args: Array<String>) {
println("Hello Kotlin!")
}
@nicolas_frankel #kotlin #springboot
10
@nicolas_frankel #kotlin #springboot
11. EXTENSION METHOD
@nicolas_frankel #kotlin #springboot
Add new methods on an
existing type
Called like a method on the
type
Translated to static Util
method in the bytecode
12