Programming in Kotlin: Fundamentals

Aug 9 2022 · Kotlin 1.6, Android 12, IntelliJ IDEA CE 2022.1.3

Part 3: Functions & Nullability

19. Introduction

Episode complete

Play next episode

Next
About this episode

Leave a rating/review

See forum comments
Cinema mode Mark complete Download course materials
Previous episode: 18. Conclusion Next episode: 20. Create & Consume Nullables

Get immediate access to this and 4,000+ other videos and books.

Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and 4,000+ professional videos in a single subscription, it's simply the best investment you can make in your development career.

Learn more Already a subscriber? Sign in.

Heads up... You've reached locked video content where the transcript will be shown as obfuscated text.

You're now in the third part of this course. Things are getting pretty serious as you approach the end. And by now, you've learned so many core concepts in Kotlin. You've learned how to use values and data types in Kotlin. You learned how to branch the execution of your code using expressions like if/else and when statements in combination with logical operators. You also found out what control flow is and how to iterate over a given range using loops. In this part of the course, you met arch-enemy of programming head-on, null. You'll learn how to use nullable types to stop your program from failing in case a value is not present. After that, you'll dive into the concepts of functions. Previously, you used functions which are predefined. Either main or functions, which certain types have like to string on integer or is empty on strings. But now you are ready to create your own custom functions. You'll do this by exploring your syntax, return values, and overloading them to have similar behavior with a slightly different syntax. That's a whole lot of new concepts and you'll see how they are also fun in the next episode.