scala default parameter skip one
There's no way to skip the parameters, but you can use named parameters when you call your foo method, for example: // Call foo with b = 5, c = 7 and the default value for a foo(b = 5, c = 7) edit - You asked specifically how to do this by positional assignment: this is not possible in Scala.
Source: stackoverflow.com