Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Implementing Function Overloading in Python. Parent comment
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.
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.