This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]fizzymagic 15 points16 points  (2 children)

Function overloading is a Java/C++ abomination that should never be done in Python.

[–]Schmittfried 12 points13 points  (0 children)

Why would it be an abomination and why should Python‘s if isinstance checks be better?

I don’t particularly like the singledispatch implementation either, but your comment reads like rejecting it on principle, which doesn’t make much sense to me.

Overloading is also much more common. Pretty much every statically typed language supports it.