Functional Programming with Kotlin
Kotlin
| Intermediate
- 9 videos | 1h 14m 32s
- Includes Assessment
- Earns a Badge
Kotlin supports functional and object-oriented programming constructs. Functions in Kotlin are first-class citizens and function objects can be treated just like other data types. In addition, Kotlin supports very concise function expressions called lambdas that are very often used with collection-related operations. In this course, you will learn the structure, syntax, and features of basic functions in Kotlin. You will learn to define default values for function input parameters, use named and positioned parameters with functions, and create functions with variable numbers of arguments. Next, you will work with higher-order functions. You will learn to pass in functions as input arguments to other functions and return functions as return values from functions. You will also implement and use closures in your code. Finally, you will define and use lambda expressions which are short, concise function definitions for use and throw functions. You will learn how to use the trailing lambda syntax in Kotlin and practice creating and using lambda expressions with collections.
WHAT YOU WILL LEARN
-
Discover the key concepts covered in this courseUse single expression functionsUse named parameters and variable argumentsCreate functions inside other functionsDefine higher-order functions and closures
-
Create and use lambda functionsExplore features of lambda functionsImplement anonymous and inline functionsSummarize the key concepts covered in this course
IN THIS COURSE
-
1m 36sIn this video, we will discover the key concepts covered in this course. FREE ACCESS
-
12mFind out how to use single expression functions. FREE ACCESS
-
9m 55sLearn how to use named parameters and variable arguments. FREE ACCESS
-
5m 3sIn this video, you will learn how to create functions inside other functions. FREE ACCESS
-
12m 46sDiscover how to define higher-order functions and closures. FREE ACCESS
-
8m 36sIn this video, find out how to create and use lambda functions. FREE ACCESS
-
9m 9sLearn how to explore features of lambda functions. FREE ACCESS
-
13m 30sDiscover how to implement anonymous and inline functions. FREE ACCESS
-
1m 58sIn this video, we will summarize the key concepts covered in this course. FREE ACCESS
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.