• slazer2au@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 days ago

    Because why go for native performance when you can go for minimum effort on all platforms.

    • grue@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      10 days ago

      When all you have is a hammer JavaScript, everything looks like a nail web page.

      Kids these days don’t bother learning languages that actually compile to native apps.

      • atomicbocks@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        10 days ago

        All of my degree was in C, C++, C#, Java, etc. and the one class I had that did web applications did Java backends and middleware with PHP frontends. It wasn’t until I got into the industry that I had to learn Angular, Electron, React, Django, etc.

        I don’t think it’s the devs making these decisions.

        • AnExerciseInFalling@programming.dev
          link
          fedilink
          arrow-up
          1
          ·
          10 days ago

          It’s the minimum effort that translates to minimum time that translates to minimum cost for the business. Why hire another developer for a mobile app (or another platform) when you could just have the same web dev write it. Or without hiring another dev, why have the same dev need to build up tooling in another language when you can just reuse from the existing platform

          • atomicbocks@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            1
            ·
            10 days ago

            Exactly, that and the “we are a [insert product name here] shop” mentality. The things I have had to fight for over the years are mind boggling.

    • TrickDacy@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      10 days ago

      Because you want a cross platform solution?

      I get that electron can be slow, bloated, etc, but the amount of ire it draws is overboard.

      • Wispy2891@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        9 days ago

        Yes but sometimes, for example core parts of windows 11 like the start menu, don’t need to be cross platform and should be native, not a pwa