4 ms·
Keyword arguments also encourage overly general functions that try to do everything, and there's a performance cost to that (such functions tend to include a mi
by Retra 7y ago
Keyword arguments also encourage overly general functions that try to do everything, and there's a performance cost to that (such functions tend to include a mini arg parser and dispatch mechanism), and it's a wash on documentation, since looking up how to use such a function really isn't any harder than looking up which of a number of functions to use.