2 ms·
That's more verbose than just having arguments though, right?
by thom 7y ago
That's more verbose than just having arguments though, right?
- Too 7y agoSlightly more verbose but not much. Just having arguments takes you back to square one where you might mix up the order of width and height since nothing is forcing the caller to use named parameters. Perhaps it would be better to have some linter enforcing such things.
- thom 7y agoIt doesn't take you back to square one in languages which enforce named parameters, which I thought we were talking about.