• termaxima@slrpnk.net
      link
      fedilink
      arrow-up
      18
      arrow-down
      3
      ·
      8 hours ago

      Yes and no. “Real” programmers care about engineering choices ; and JS is the cardboard of programming languages.

      Perfect for packaging (which in this metaphor is UI), horrible for building a bridge with. And vice-versa, I wouldn’t try and make amazon packaging out of reinforced concrete.

    • arcterus@piefed.blahaj.zone
      link
      fedilink
      English
      arrow-up
      77
      ·
      15 hours ago

      For something you’re getting paid for, sure. But if you’re contributing in your free time for fun or whatever, presumably you’d prefer to use a language you actually like.

    • TeamAssimilation@infosec.pub
      link
      fedilink
      arrow-up
      51
      arrow-down
      20
      ·
      edit-2
      15 hours ago

      Real programmers will write in a way that user’s resources are not being wasted because you need a full browser, a JS runtime, and DOM juggling, to show even the simplest application.

      It’s not rare for simple JS applications to consume over half a gigabyte of RAM on startup, and way more CPU than their native counterparts. That this was normalized and even defended is stupid.

      • hperrin@lemmy.ca
        link
        fedilink
        English
        arrow-up
        48
        ·
        14 hours ago

        I think you’re thinking of Electron apps, but that’s not really a criticism of JavaScript, that’s a criticism of Electron. There are plenty of JS platforms that don’t require a browser/DOM. React Native is the biggest example. Also, GJS if you want native Linux apps.