• _stranger_@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    9 hours ago

    I’ll take overloaded operators over overloaded functions any day of the week, and I also hate overloaded operators.

    Python’s optional typing has come a very long way in the past few years, you might be able to mitigate this with some creative application of typing.

    Edit: I read your post closer, I’m not sure typing would help with the overloaded operator issue and now I have something fun to try out later 😁