On Thursday, 5 January 2023 at 21:48:40 UTC, Vijay Nayar wrote:

2. Using a constructor with many arguments.
```
A a = new A("Bob", 20, false, true);
```

This approach can construct arguments inline, such as during a function call, however, the arguments are not labeled, making it easy to get the order wrong or for the meaning to be unclear.

Hopefully we'll finally have named arguments. Considering they were accepted to language more than two years ago - maybe in the next century...

Reply via email to