• ferric_carcinization@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    14 hours ago

    You could do a lot worse. If the type of i was an object, you could overload the negation operation to have side-effects for the third snippet, for example.