• lambalicious@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    3
    ·
    7 months ago

    Word! The whole snafu with co_routines has been quite the laughable show. It would have been trivially sortable if C++ did something like what PHP did, using a symbol to absolutely disambiguate what is a variable and what is not. That way eg.: await is a keyword, $await is a variable (perhaps a functor).

    To make it even better, $ is already unused in C++!