Kotlin Essential Training

Kotlin Essential Training

English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 3h 30m | 514 MB

Kotlin, the powerful programming language from JetBrains, offers null safety, concise syntax, and 100% Java compatibility. Plus, it’s fully supported by Google for Android development. If you’re looking to get up and running with this popular language, then this course is for you. Join instructor Troy Miles as he provides a comprehensive overview of what developers need to create command-line programs using the Kotlin programming language. Troy starts by covering the basics: data types and variables, how statements differ from expressions, and what the different types of expressions are. He then dives into all of the language’s essential features, from functions and classes to coroutines, as well as how to effectively debug your Kotlin code.

Topics include:

  • Working with variables
  • Tips and tricks for working with functions
  • Creating classes in Kotlin
  • Working with companion objects
  • Debugging your code
  • Working with coroutines
  • Handling canceled or timed-out tasks
Table of Contents

1 Welcome
2 What you should know
3 Intellij IDEA installation and quick start guide
4 Numeric data types
5 Mutable and immutable variables
6 Boolean and char data types
7 String tricks and traps
8 How statements differ from expressions
9 The if expression
10 The when expression
11 Loops with when expressions
12 Nulls and smart casting
13 Challenge Replace an if expression with a when
14 Solution Replace an if expression with a when
15 When to use arrays
16 When to use lists
17 Sets best practices
18 How to use maps as dictionaries
19 Use collection operations
20 Sequences used in asynchronous data
21 Challenge Remove duplicates from a list
22 Solution Remove duplicates from a list
23 Command-line arguments
24 Get user input
25 Read and write file data
26 Challenge Create and filter a list from a text file
27 Solution Create and filter a list from a text file
28 Functions
29 Lambda functions
30 Anonymous functions
31 Local functions
32 Challenge Pass a function to another function
33 Solution Pass a function to another function
34 Kotlin classes
35 Constructors and init block
36 The beauty of data classes
37 Class composition with interfaces
38 Companion objects
39 Challenge Count instances of a class
40 Solution Count instances of a class
41 Set unconditional and conditional breakpoints
42 Watch variables and change their values
43 The need for coroutines
44 How to handle canceled and timed-out tasks
45 Challenge Read a file in the background
46 Solution Read a file in the background
47 Next steps