• Masterkraft0r@discuss.tchncs.de
    link
    fedilink
    arrow-up
    39
    arrow-down
    3
    ·
    edit-2
    10 months ago

    As an embedded firmware guy for 10ish years:

    C can die in a fire. It’s “simplicity” hides the emergent complexity by using it as it has nearly no compile time checks for anything and nearly no potential for sensible abstraction. It’s like walking on an infinite tight rope in fog while an earth quake is happening.

    For completely different reasons: The same is true for C++ but to a far lesser extent.

    • colonial@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      10 months ago

      Ahh, the consequences of using the PDP-11 as your abstract machine.

      I find C fun in small doses, but if I ever had to scale up to an actual product, I’d quickly want to off myself from copy-pasting my vector implementation for every different type it needs to contain.

      (Of course, I could commit macro abuse to emulate generics, but… that’s just asking for trouble.)