• biggeoff@sh.itjust.works
    link
    fedilink
    arrow-up
    4
    ·
    9 hours ago

    Thanks! As a hardware guy it’ll be a long time before I do anything with this information. Nice to hear the opinions of actual Devs.

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

      I suspect most Lemmy users hating on JS haven’t done much professional JS work. Especially these days with TypeScript and all the modern conveniences.

      I’m curious, what kinda hardware do you work on?

      • biggeoff@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        2 hours ago

        Digital hardware, mainly top-level design in verilog and associated checks using python/perl (sad)

        Right now working on a GPU which is fun!

    • Victor@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      7 hours ago

      Ah alright 🙂 My pleasure! Yeah I wouldn’t even consider JSDoc if I had the choice of TypeScript. I even did some years of Advent Of Code in TypeScript. It’s performant enough and simple to employ some kind of quasi functional programming style with it. I think it’s great.

      • Mose13@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        6 hours ago

        I think Rich Harris famously migrated Svelte from TypeScript to JSDoc, while still supporting TypeScript via JSDoc. I don’t use Svelte, so I have no idea how well this works in practice. However, Rick Harris seems smart to me, unlike other overly opinionated devs like DHH. I still wouldn’t use JSDoc over TS, but I guess if it works for your project, who cares. What matters is that we all remember the one true enemy, DHH

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

          I would actually love to hear the rationale behind migrating from TypeScript to JSDoc. Mind boggling to me.

          Especially nowadays when there is promising work towards very fast, Rust-based TypeScript tooling, which web devs are in love with.

          So yah, very interesting.

          But yeah, DHH 🖕🖕