Programming in Kotlin: Fundamentals

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

Part 2: Manage Control Flow

10. 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: 09. Conclusion Next episode: 11. Understand While Loops

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.

Hello there, and congratulations on reaching the second part of this course. In this part, you'll learn more about a really important concept in programming, control flow. You'll use various mechanisms like ranges, loops and the when expression to utilize control flow and change the way your code behaves. You'll use it to also add ways to repeat pieces of your code multiple times. Control flow or the flow of control is the way our program behaves and decides which branch of the flow it will take next. It uses things like if/else, when statements and loops to either determine the next piece of code you want to execute, or to look over a piece of code, executing it multiple times. We've done a bit of control flow in the previous part, but this time around you'll be introduced to new concepts. After this part of the course, you'll be able to fully manipulate the flow of control of your programs. So let's go with the flow (laughs).