News for hackers. Stuff that matters.
Re:Be wary of functions which take several parameters of the... by Too on Saturday September 28, 2019 @01:18AM (#21098605)
Slightly 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.
Re:Be wary of functions which take several parameters of the... by thom on Sunday September 29, 2019 @06:52AM (#21106311)
It doesn't take you back to square one in languages which enforce named parameters, which I thought we were talking about.