DEV Community

loading...

Discussion on: The Correct Way to Overload Functions in Python

Collapse
hanpari profile image
Pavel Morava

I thought you were going to talk about this overloading. Nice article, though.

I agree it is a shame that single dispatch is not used more. I wrote an article related to singledispatch here.

I believe the greatest advantage of this approach is that one can define a new implementation anywhere. The caveat is that VS Code had trouble with IntelliSense. PyCharm worked fine though.