News for hackers. Stuff that matters.
Re:Overload functions in Python by MereInterest on Monday February 17, 2020 @08:12AM (#22347407)
I think it depends entirely on whether the overloads perform the same conceptual action. If I have a "send value" function that transmits over an existing network connection, I can have overloads for bool, int, string, etc. Each does the same action, but for a different type.

In the other hand, overloads can do entirely arbitrary actions. If there is no consistency between the different overloads, then there is no reason to have them be named the same thing.

Re:Overload functions in Python by rusk on Monday February 17, 2020 @12:49PM (#22349240)
I wad looking for Scott Meyers reference for this earlier and the one I found matches yours: ”use function overloading for type conversion”