• suy@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    6 months ago

    Correct. Backwards compatibility is both its biggest asset and its bigger problem.

    In syntax alone, you can check what Herb Sutter is doing with cppfront. Specifically, the wiki page on the postfix operators is quite enlightening. It shows some interesting examples of how by making everything a postfix operator you drop the need of -> and the duality of pre/post increment and decrement operators.