• o11c
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    I’ve been annoyed at this in Python sometimes, since its containers have some operations named only, some operator only, and some available as both.

    C++'s standard containers mostly have useless operator overloads though, so its technical win here isn’t particularly impressive. One thing you definitely notice when porting C++ code to other languages is just how many silly dances various APIs force you to use for common tasks.