The fact that #Groovy allows you to spell out a call that *look* like you're passing parameters by name, but they're actually passed by position and the "names" are ignored
-
The fact that #Groovy allows you to spell out a call that *look* like you're passing parameters by name, but they're actually passed by position and the "names" are ignored
is criminal
-
In other words:
```
def func(a, b=2, c=3) {
// ...
}func(1, c=42) // equivalent to func(1, 42, 3)
``` -
@[email protected] gulag time
Copyright © 2024 NodeBB | Contributors