Functional Programming with Kotlin

Kotlin    |    Intermediate
  • 9 videos | 1h 14m 32s
  • Includes Assessment
  • Earns a Badge
Rating 4.0 of 5 users Rating 4.0 of 5 users (5)
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 course
    Use single expression functions
    Use named parameters and variable arguments
    Create functions inside other functions
    Define higher-order functions and closures
  • Create and use lambda functions
    Explore features of lambda functions
    Implement anonymous and inline functions
    Summarize the key concepts covered in this course

IN THIS COURSE

  • 1m 36s
    In this video, we will discover the key concepts covered in this course. FREE ACCESS
  • 12m
    Find out how to use single expression functions. FREE ACCESS
  • Locked
    3.  Using Named Parameters and Varargs
    9m 55s
    Learn how to use named parameters and variable arguments. FREE ACCESS
  • Locked
    4.  Creating Local Functions
    5m 3s
    In this video, you will learn how to create functions inside other functions. FREE ACCESS
  • Locked
    5.  Defining Higher-order Functions and Closures
    12m 46s
    Discover how to define higher-order functions and closures. FREE ACCESS
  • Locked
    6.  Working with Lambdas and the Trailing Lambda Syntax
    8m 36s
    In this video, find out how to create and use lambda functions. FREE ACCESS
  • Locked
    7.  Using Additional Lambdas Functions
    9m 9s
    Learn how to explore features of lambda functions. FREE ACCESS
  • Locked
    8.  Destructuring Declarations, Anonymous Functions, and Inline Functions
    13m 30s
    Discover how to implement anonymous and inline functions. FREE ACCESS
  • Locked
    9.  Course Summary
    1m 58s
    In 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.

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 3.8 of 6 users Rating 3.8 of 6 users (6)
Rating 5.0 of 8 users Rating 5.0 of 8 users (8)
Rating 4.0 of 7 users Rating 4.0 of 7 users (7)