News for hackers. Stuff that matters.
Re:Implementing Function Overloading in Python by Waterluvian on Thursday March 26, 2020 @03:21AM (#22691319)
I love Python as a "hack it into a Frankenstein monster for fun" language because of how much power you have to get under the hood. For that reason I love articles like this.

But I'm not sure you'd ever want to implement overloading for practical uses. Just utilize optional arguments and some branching logic within the function. But even then, rethink how much you're trying to pack into a function.

Re:Implementing Function Overloading in Python by lordgrenville on Thursday March 26, 2020 @07:17AM (#22692406)
Yes, my reaction to this was "this is horrifying Python, never do this in real life!" But also fascination at how malleable and subvertible it is once you go deep enough into the internals.
Re:Implementing Function Overloading in Python by iovrthoughtthis on Thursday March 26, 2020 @03:56AM (#22691429)
You might enjoy ruby as well then!