4 Comments

That's actually a very pratical low-level concept. Thanks a lot!

Expand full comment
Apr 22Liked by Avi Chawla

Aren't there other more pythonic ways such as duck typing or protocols to approach these problems, rather than doing something "like it's done in C++"?

Expand full comment

This is a crap article. First, function overloading is NOT a defining feature of OOP. It is a defining feature of C++ and Jave, neither of which is an example of an OOP language. They are based on Simula, an ADT based language. OO languages descend or are inspired from Smalltalk, the original OOP language as its creator coined the term.

Python is more OO than either C++ or Java.

Finally, function overloading is a controversial topic and more often than not leads to unexpected programming errors.

Expand full comment