Multiple Parameters Groups and Call By Name Parameters (video) (Scala 3)
In this Scala 3 video lesson I show how and why to use multiple input parameter groups when writing Scala functions and methods. In short, you use them when you want to create your own custom control structures in Scala, such as creating a whilst
function and an ifBothTrue
function. While looking at multiple input parameter groups, we also look at Call By Name input parameters.
Update: All of my new videos are now on
LearnScala.dev