This talk will examine features of Kotlin at a greater depth than most tutorials. Higher order functions will be covered, as well as reduction operations like reduce and fold, and lambdas with receivers. Those topics progress toward building DSLs and builders in Kotlin. Terms like “apply”, “let”, “use”, “also”, and “with” will be covered along with their typical use cases. Finally, and introduction to Kotlin coroutines will be included.
Details of the type system, including the Any, Unit, and Nothing classes, will be included. Examples will be provided on how to define extension functions, infix operators, and inlining functions for efficiency.
Ken Kousen is a Java Champion, Oracle Groundbreaker Ambassador, and a Grails Rock Star. He is the author of the O'Reilly books “Modern Java Recipes” and “Gradle Recipes for Android” and the Manning book “Making Java Groovy”. He also has recorded over a dozen video courses for the O'Reilly Learning Platform, covering topics related to Android, Spring, Java, Groovy, Grails, and Gradle.
In 2013, 2016, and 2017 he won a JavaOne Rockstar award. His academic background include BS degrees in Mechanical Engineering and Mathematics from M.I.T., an MA and Ph.D. in Aerospace Engineering from Princeton, and an MS in Computer Science from R.P.I. He is currently President of Kousen IT, Inc., based in Connecticut.