Conclusion

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

In this lesson, you learned about higher-order functions that allow you to work with functions in a new way.

In summary, you learned:

  • To pass a function as an argument, making the function more flexible and reusable.
  • How to use trailing lambda syntax.
  • About the handy it keyword.

The ability to treat functions like any data type makes Kotlin code more expressive, concise, and functional.

See forum comments
Download course materials from Github
Previous: Demo Next: Quiz: Higher-Order Functions & Trailing Lambdas