Specifically, do you worry that Microsoft is going to eventually do the Microsoft thing and horribly fuck it up for everyone? I’ve really grown to appreciate the language itself, but I’m wary of it getting too ingrained at work only to have the rug pulled out from under us when it’s become hard to back out.

Edit: not really “pulling the rug”, but, you know, doing the Microsoft classic.

  • @mrkite
    link
    29 months ago

    Your own example fails because “class” is a valid variable name in c but not cpp.

    • @[email protected]
      link
      fedilink
      -1
      edit-2
      9 months ago

      I didn’t say C++ was a superset of C, I said “if I take my c code and add a cpp extension it works”. Believe me, I am painfully aware of the not-a-superset problem between C and C++. My point is Typescript doesn’t even meet the very loose “its practically a superset” relationship that C++ has with C.

      • @mrkite
        link
        English
        19 months ago

        if I take my c code and add a cpp extension it works

        and I pointed out that it doesn’t if your C code has a variable called “class”.

        • @[email protected]
          link
          fedilink
          19 months ago

          Don’t worry, none of my code uses that, designated initilizers, complex numbers, variable length arrays, typedef name overloading, unintilized constants, implicit void pointer casting, implicit function declarations, nested struct defintions, or any of the other exclusively-C features.