Multiple Parameters Groups and Call By Name Parameters

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.