News for hackers. Stuff that matters.
Re:Be wary of functions which take several parameters of the... by keithnz on Thursday September 26, 2019 @10:56PM (#21088006)
this doesn't really solve the problem, its a little better, however, as it STILL accepts positional arguments you can still get in trouble if you don't use parameter names.
Re:Be wary of functions which take several parameters of the... by alkonaut on Friday September 27, 2019 @04:08AM (#21089569)
A compile time analyzer that says "always use named parameters when calling functions with similar type of consecuitve arguments" should be pretty easy to write.

It would be better to have a foolproof API, but obviously it can't change now.