by musingsole · 6y ago · 0 comments
Personally, I hate this presentation. Multiple dispatch (to me) is cognitively heavier and not what I would default to. If it's a performance gain and I need performance, then sure. But too often people hold it up as a virtue because the need for speed is assumed.
It also heavily improves composability.
It's LESS performant if not done carefully. Certainly FastAI, Matt rocklin etc didn't reimplement a subset in python just to get slower code
It just seems profoundly un-natural and arbitrary to limit dispatch to only the first argument.