3 ms·
> '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 yo
by BiteCode_dev 7y ago
> '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.