News for hackers. Stuff that matters.
Re:Implementing Function Overloading in Python by throwaway_pdp09 on Thursday March 26, 2020 @08:54AM (#22693021)
I remember reading the multimethods post and thinking it was wrong as it does not dispatch on all arguments, as dylan would (and I believe closure would too) - correct me if I'm wrong though.
Re:Implementing Function Overloading in Python by arunix on Thursday March 26, 2020 @01:37PM (#22695935)
It does dispatch on the types of all arguments, ... that's the point of it.

Some sample code (I modified it to be commutative on the argument types):

https://gist.github.com/arunbear/caef7546d297c01fddbd3f67117...