Kotlin Tutorial #2 | How To Code (Coding Fundamentals)

Kotlin is a new language for writing applications on the JVM. Kotlin was developed by JetBrains, the company that created IntelliJ Idea and Resharper, amongst other tools. Kotlin has recently been adopted by Gradle as the language in which their build DSL will be written. Kotlin is a more modern version of Java. It adopts functional ideas such as immutability and first-class functions, out of the box, and it is also object oriented. In this course, Kotlin Fundamentals, you’ll get an in depth look at using Kotlin applications with no prior Kotlin knowledge needed. First, you’ll discover how to use Kotlin for functional programming. Next, you’ll explore the reification of generic types. Then, you’ll get a better understanding of immutability and null checks in Kotlin. Finally, you’ll wrap up the course with learning how to use higher order functions. By the end of this course, you’ll know the syntax and features of Kotlin.


0:00 Using Kotlin Without Creating Any Class Definitions
5:53 Kotlin’s Support for Immutability
9:32 String Templates in Kotlin
11:55 Using ‘if’ as an Expression
14:31 How Kotlin Improves the Handling of Null Values
18:26 The ‘When’ Statement in Kotlin
20:14 Using ‘try’ Kotlin
22:25 Kotlin’s Looping Constructs
27:49 Kotlin’s Support for Exceptions


Kotlin Tutorial  #2 | How To Code (Coding Fundamentals)