News for hackers. Stuff that matters.
Re:I'm Switching to Python and Actually Liking It by yunwal on Wednesday July 16, 2025 @06:14PM (#44587392)
Python you have to learn something arbitrary for each dunder method you want to define/override. + —> __add__, * —-> __mul__, etc

C++ it’s just one pattern to learn, x -> operatorx

There are no comments on this comment yet.