• 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

  • uuj8za@piefed.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 days ago

    I know it’s easy to dunk on Electron… but have any of yall written any desktop apps with native frameworks? I wrote a small GTK4+Vala app once and I discovered desktop frameworks are very different than developing webapps. Customizing the look, feel, interaction of elements, and general mechanics, seems like a toooon of effort. (It kinda seems like you’re not supposed to customize it.) Web development is waaaaaaaay more friendly towards customization. Which as a company, you want your app to look like your company, not some generic OS bundled app.

    And then you have to repeat all that effort for crappleOS and Wangblows?.. And then you gotta hope that it’s even possible to do the thing you want in different OSes. Sheesh.

    I mean, I’d be happy if everything was native apps, but I also understand why people don’t tend to choose that route.

    • RheumatoidArthritis@mander.xyz
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      10 days ago

      That’s kind of the point of the frameworks though? Electron apps suck not only because of resource footprint, they don’t look and feel native, if they have any accessibility it’s usually custom and different for every program. Too much customization is bad.

      I remember the times before UI toolkits took over. These programs had soul and were beautiful in their own way, but you had to learn how UI elements worked in each of them separately. The same thing happens with web apps now. Tab and the other usual keyboard shortcuts rarely work, controls are all custom.

      X-Copy-Probably-the-most-popular-Amiga-program-ever-Amiga-news-commodore-news-piracy-on-the-80s-and-90s-2334938446

      dpaint01-1293592928

      a5003-crop-2302041451-01