Conclusion

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