O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Introduction to Kotlin Programming

Video Description

Kotlin 1.0 was released in February 2016, and since that time it’s been embraced by developers around the world, especially those within the Android community. This course provides an easy introduction to this open source programming language that covers the basics and showcases the language’s interoperability with Java and the JVM platform. A key feature of Kotlin is its similarity to Java, C#, and JavaScript. If you’re familiar with any of these languages, says expert trainer Hadi Hariri, take this course and you’ll understand Kotlin on day one.

  • Get a full tour of language basics and learn to start writing Kotlin code
  • Gain an in-depth understanding of why Android developers flock to Kotlin
  • Discover Kotlin’s easy interoperability with Java frameworks, libraries and the JVM
  • Understand the advantages of Kotlin compared to Java and Scala
  • Employ code examples available via Github

Hadi Hariri is VP of Developer Advocacy at JetBrains, the organization behind the creation of Kotlin. He's been speaking at software industry conferences for over 15 years and is well respected within the open source community. He’s the original author of Spek and Wasabi, amongst other OSS projects. He’s been closely involved in Kotlin for more than four years. Hadi is easily accessible on Twitter at @hhariri.

Table of Contents

  1. Part 1: Introduction
    1. Welcome to the Course 00:00:49
    2. Why Kotlin 00:07:28
  2. Part 2: A Primer on Kotlin
    1. Introduction to the JVM 00:04:45
    2. Installing the Tooling 00:04:15
    3. The Kotlin REPL 00:04:41
    4. The Structure of a Kotlin Application 00:10:44
    5. Kotlin with IntelliJ IDEA 00:04:22
    6. Conventions Used with Kotlin & Summary 00:02:28
  3. Part 3: The Basics of Kotlin
    1. Declaring Variables in Kotlin 00:04:43
    2. Working with Basic Types in Kotlin 00:06:57
    3. Loops and Ranges in Kotlin 00:08:06
    4. Conditional execution with if and when in Kotlin 00:09:10
    5. Packages and Imports in Kotlin & Summary of Kotlin Basics 00:03:32
  4. Part 4: fun with Functions
    1. Functions in Kotlin 00:07:12
    2. Functions with Default and Named Parameters in Kotlin 00:05:45
    3. Functions with Unlimited Parameters in Kotlin 00:03:34
  5. Part 5: Classes in Kotlin
    1. Classes in Kotlin 00:15:39
    2. Member Functions in Kotlin 00:01:51
    3. Visibility Modifiers in Kotlin 00:01:27
    4. Kotlin Data Classes 00:10:37
    5. Enum Classes in Kotlin 00:08:48
    6. Objects in Kotlin & Summary 00:03:53
  6. Part 6: Inheritance et al.
    1. Inheritance in Kotlin 00:05:52
    2. Working with Abstract Classes in Kotlin 00:02:42
    3. Interfaces in Kotlin 00:08:57
    4. A Brief Look at Generics in Kotlin & Summary 00:07:39
  7. Part 7: Working with Nulls
    1. Null Safety & Summary 00:13:22
  8. Part 8: A handful of tidbits
    1. Type Casting in Kotlin 00:07:11
    2. Tuples 00:03:49
    3. Deconstructing values 00:06:57
    4. Working with Exceptions 00:11:12
    5. Declaring Constants 00:02:08
    6. Annotations in Kotlin & Summary 00:03:23
  9. Part 9: Getting Functional
    1. Higher-Order Functions in Kotlin 00:05:05
    2. Lambda Expressions in Kotlin 00:11:22
    3. Closures in Kotlin 00:03:14
    4. Extension Functions in Kotlin & Summary 00:10:55
  10. Part 10: Interoperability
    1. Interoperability with Java 00:02:12
    2. Talking to Java from Kotlin 00:07:53
    3. Working with nulls from Java 00:06:37
    4. Talking Kotlin in Java 00:12:14
    5. Top-level Functions and Properties in Kotlin 00:05:33
    6. Extension Functions from Java 00:01:34
    7. Interop with Java 7 and 8 & Summary 00:02:17
  11. Part 11: Standard Library
    1. Kotlin Standard Library and Working with Collections in Kotlin 00:11:13
    2. Filtering, Mapping, and Flatmapping in Kotlin 00:13:55
    3. Lazy Evaluation with Sequences in Kotlin 00:08:47
    4. String Extensions in Kotlin & Summary 00:04:06
  12. Part 12: Build Tools
    1. Build Tools in Kotlin & Summary 00:03:57