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
    fedilink
    arrow-up
    2
    ·
    1 year ago

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

    • jeffhykin@lemm.ee
      link
      fedilink
      arrow-up
      1
      arrow-down
      2
      ·
      edit-2
      1 year 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
        fedilink
        English
        arrow-up
        1
        ·
        1 year 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”.

        • jeffhykin@lemm.ee
          link
          fedilink
          arrow-up
          1
          ·
          1 year 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.