Course details
Kotlin
Learn the core of Kotlin, the concise language behind modern Android and a growing share of server code. You will set up a project, store values in well-chosen types, work with lists, sets and maps, and steer a program with if, when and loops — all while building one small café order app.
Course curriculum
Introduction to Kotlin5 lessons
Meet Kotlin: its short history, the problems it was designed to solve, and how it lives side by side with Java. Then set up a working environment, learn how files and packages are organised, and write the main function every program starts from.
Variables and Data Types5 lessons
Decide when a value may change with val and var, let the compiler infer types, pick between whole numbers, decimals and unsigned numbers, work with characters, strings and booleans, and check or convert types safely.
Comments and Printing Data3 lessons
Write comments that explain why, not what, including KDoc for documentation. Then print output with print and println and build readable messages with string templates.
Collections, Ranges and Sequences5 lessons
Store the café's menu, prices and orders in arrays, lists, sets and maps, understand what read-only really means, count with ranges and progressions, and step through data with iterators and lazy sequences.
Conditional Expressions and Loops5 lessons
Choose between values with if and when, which in Kotlin are expressions that return a result. Then repeat work with for and while loops, and control them precisely with break, continue and labels.
