New Course: Programming in Kotlin
Take a deep dive into the Kotlin programming language itself and learn about Kotlin types, flow control, functions, classes, properties, lambdas, collections, nullables, methods, and much more. By Kevin D Moore.
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress, bookmark, personalise your learner profile and more!
Create accountAlready a member of Kodeco? Sign in
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress, bookmark, personalise your learner profile and more!
Create accountAlready a member of Kodeco? Sign in
Contents
It’s day 2 of the Android Avalanche: an event where we’ll be releasing new Android and Kotlin books, courses, and screencasts every day!
Today, we are releasing a brand new course: Programming in Kotlin. If you’ve completed Your First Kotlin Android App, or are just interested in learning Kotlin, the new course is for you.
In this massive 74-video course by Kevin Moore, you’ll take a deep dive into the Kotlin programming language itself. Through a series of hands-on exercises and challenges, you’ll learn how to use Kotlin types, flow control, functions, classes, properties, lambdas, collections, nullables, methods, and much more.
Let’s take a look at what’s inside.
Part 1: Core Concepts
In part one, review the core concepts of Kotlin from Your First Kotlin Android App, and pick up a few more.
- Introduction: Find out what we’ll cover in this course, what you’ll learn in the first part, and why it’s important.
- Using IntelliJ: Install IntelliJ IDEA, then take a tour of the IDE and create your first project.
- Kotlin Basics: Review the Kotlin basics that were covered in Your First Kotlin Android App.
- Comments: Learn the various ways to add comments to your Kotlin code – a useful way to document your work or add notes for future reference.
- Pair and Triple: Learn about two classes, Pair and Triple, and when to use each.
- Challenge: Pair and Triple: Practice using Pairs & Triples on your own, through a hands-on challenge.
- Booleans: Review the Kotlin Boolean type and try it out for yourself.
- Challenge: Booleans: Practice using Booleans on your own, through a hands-on challenge.
- Scope: Learn what the concept of scope means in Kotlin, and how it applies to if statements.
- Conclusion: Let’s review where you are with your Kotlin core concepts, and discuss what’s next.
Part 2: Flow Control
In the second part, learn a few different ways to master flow control in Kotlin.
- Introduction: Let’s review what you’ll be learning in this section, and why it’s important.
- While Loops: Learn how to make Kotlin repeat your code multiple times with while loops, repeat while loops, and break statements.
- Challenge: While Loops: Practice using while loops on your own, through a hands-on challenge.
- For Loops: Learn how to use for loops in Kotlin, along with ranges, continue, and labeled statements.
- Challenge: For Loops: Practice using for loops on your own, through a hands-on challenge.
- When Expressions: Learn how to use when expressions in Kotlin, including some of its more powerful features.
- Challenge: When Expressions: Practice using when expressions on your own, through a hands-on challenge.
- Conclusion: Let’s review what you learned in this section, and discuss what’s next.
Part 3: Functions and Nullables
In part 3, you’ll learn about functions and one of the most important aspect of Kotlin: nullables.
- Introduction: Let’s review what you’ll be learning in this section, and why it’s important.
- Introduction to Functions: Write your own functions in Kotlin, and see for yourself how Kotlin makes them easy to use.
- Challenge: Introduction to Functions: Practice writing functions on your own, through a hands-on challenge.
- More Functions: Learn some more advanced features of functions, such as overloading, and functions as variables.
- Introduction to Nullables: Learn about one of the most important aspects of Kotlin development – nullables – through a fun analogy.
- Challenge: Introduction to Nullables: Practice using Nullables on your own, through a hands-on challenge.
- More Nullables: Learn how to unwrap Nullables, force unwrap Nullables, and use the let statement.
- Challenge: More Nullables: Practice working with Nullables on your own, through a hands-on challenge.
- Conclusion: Let’s review where you are with your Kotlin core concepts, and discuss what’s next.
Part 4: Collections
Try out different types of collections in Kotlin, and learn when to use each.
- Introduction: Let’s review what you’ll be learning in this section, and why it’s important.
- Arrays: Learn how to use arrays in Kotlin to store an ordered list of values.
- Challenge: Arrays: Practice using arrays on your own, through a hands-on challenge.
- Lists: Learn how to use Lists in Kotlin to store an ordered collection of data.
- Challenge: Lists: Practice using Lists on your own, through a hands-on challenge.
- Maps: Learn how to use Maps in Kotlin to store a mapped collection of data.
- Challenge: Maps: Practice using Maps on your own, through a hands-on challenge.
- Which Collection to Use?: Find out which collection you should use in a given situation.
- Mutable vs. Immutable: Learn the difference between the two types of collections.
- Conclusion: Let’s review what you learned in this part of the course, and find out what’s next.
Part 5: Lambdas
In part 5, learn how to use lambdas and generics.
- Introduction: Let’s review what you’ll be learning in this section, and why it’s important.
- Higher-order vs. Lambdas: Learn the difference between lambdas and Higher-order functions.
- Syntax: Learn about the syntax needed to write lambdas.
- Challenge: Lambdas: Practice using Lambdas, through a hands-on challenge.
- Generics: Find out what generics are in regards to collections.
- Challenge: Generics: Practice creating Generics on your own, through a hands-on challenge.
- Collection Methods: Learn how to use lambdas with collection methods.
- Conclusion: Let’s review everything you learned in this part of the course, and discuss what’s next.
Part 6: Classes
Learn about how to create your own classes and find out when you should subclass.
- Introduction: Let’s review what you’ll be learning in this section, and why it’s important.
- Creation: Create classes using both primary and secondary constructors.
- Initializers: Learn how the init method is used in Kotlin.
- Challenge: Creation: Practice creating classes and understanding when to use, through a hands-on challenge.
- Inheritance: Learn about the concepts of inheritance, polymorphism, hierarchy checks, overrides, and super.
- When Should You Subclass?: Learn when you should subclass, and when you shouldn’t.
- Data Classes: Find out what data classes are and how to use them.
- Challenge: Data: Practice creating your own data classes, through a hands-on challenge.
- Conclusion: Let’s review everything you learned in this part of the course, and discuss what’s next.