Mine is that the useState hook is an actual plague on the entire React ecosystem. Regardless of your opinions of React, if you wanna use something then use it right.

  • ducktumn@lemmy.zip
    link
    fedilink
    arrow-up
    53
    arrow-down
    6
    ·
    6 hours ago
    • C++ is an awful language overall.
    • Linus is just some guy with good programming skills and not an authority over anything tech.
    • There aren’t any good text editors in the wild. VSCode is awful apart from extension support. Kate is close to being perfect but lack of extensions are pulling it back. Vim, Helix, Emacs, NeoVim are all flex toys.
    • AI bad
    • tomjuggler@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      3 hours ago

      That information about text editors is out of date - we now have Zed. Just ignore the “AI integration” bs, it’s entirely optional

      • ducktumn@lemmy.zip
        link
        fedilink
        arrow-up
        2
        ·
        2 hours ago

        Do they collect data though? This is important. If not I might give it a shot.

        And also when you don’t use AI, can you disable all AI UI features.

        • tomjuggler@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          2 hours ago

          Zed is totally open source, and the AI “features” are optional. When you set it up - at least when I did - it’s one checkbox to disable. I don’t remember about the telemetry you will have to have a look, I’m usually ok with that myself.

          I came from VSCode and haven’t found anything I miss. I especially don’t miss the poor performance of VSCode, Zed is extremely lightweight!

    • onlinepersona@programming.dev
      link
      fedilink
      arrow-up
      2
      arrow-down
      5
      ·
      5 hours ago

      Agree with half of that. C++ is last century stuff and should be replaced. Any new code in C and C++ is immediately a vulnerability.

      • tomjuggler@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        18 minutes ago

        Embedded programmer here: C/C++ is not going away any time soon. Rust just isn’t ready yet (on microcontrollers anyway)

      • ducktumn@lemmy.zip
        link
        fedilink
        arrow-up
        10
        ·
        5 hours ago

        Atleast C is easy to understand which makes it easier to find and fix vulnerabilities. C++ feels like it’s duct tape holding it together.

        • onlinepersona@programming.dev
          link
          fedilink
          arrow-up
          2
          arrow-down
          5
          ·
          5 hours ago

          C is easy to understand and find vulns? AI is uncovering decades of vulns in C code that humans hadn’t seen since the code’s inception. And they aren’t logic errors but memory management errors. Not a single day goes by without a CVE in a C/C++ project about memory management.

          Both languages are walking vulnerabilities.