• suy@programming.dev
    link
    fedilink
    arrow-up
    6
    ·
    7 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.