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.

Transcript: 19. Introduction

You’re now in the third part of the course! Things are getting pretty serious as you approach the end! :]

And by now, you’ve learned so many cool 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’ll meet with the arch enemy of programming heads 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 concept of functions.

Previously you used functions which were predefined. Either main() or functions which certain types have, like toString() on an Integer or isEmpty() on a String.

But now, you’re ready to create your own custom functions. You’ll do this by exploring their syntax, returning 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’re so fun, in the next episode! :]