3 ms·
Might be, but in Python it is much easier to use and better integrated in the language basics. Operator overloading is something, that belongs to the 'pro' ski
by PythonicAlpha 12y ago
Might be, but in Python it is much easier to use and better integrated in the language basics.
Operator overloading is something, that belongs to the 'pro' skill-set of C++ developers and done wrong, can lead to many problems.
In Python it is much easier to overwrite the behavior of such standard methods and the language core can be learned in about 1/4 of the time you need to learn in C++ to just know the basics (C core, C++ object basics, Operator overloading, standard library basics like the string class, ...) -- in Python you get the power with much less learning effort and without the technical troubles.