News for hackers. Stuff that matters.
Re:Implementing Function Overloading in Python by BiteCode_dev on Thursday March 26, 2020 @08:58AM (#22693060)
> 'circle.area(r)' is even weirder

It's just putting the original area() function in a module, not making it a method of a class. It's the simplest solution you can have, ever.

Adding an object is already more complex, and complexity needs to be justified. Just KISS if you can.

There are no comments on this comment yet.