home search about rss feed twitter ko-fi

Higher-Order Functions, Part 1 (video) (Scala 3)

In this free Scala 3 training video, we start to look at how to create higher-order functions (HOFs) in Scala, that is, how to write Scala functions that take other functions as input parameters. I show:

  • The syntax for HOFs
  • HOF examples
  • How to execute a function you receive as an input parameter
  • As an added benefit, this lesson will help you read the Scaladoc of functions and methods that use higher-order functions

Update: All of my new videos are now on
LearnScala.dev