• MoogleMaestro@lemmy.zip
    link
    fedilink
    English
    arrow-up
    3
    ·
    4 months ago

    Electron is the only cross platform gui toolkit…

    If you ignore QT, GTK and everything else.

    I’m so glad that Microsoft makes an awesome cross platfor— wait, no, but they contribute code to— hmmm … Hey, what does Microsoft do to make apps more portable again?

    • ZILtoid1991@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      4 months ago

      The real reasons often are:

      • They want be able to hire much cheaper webdevs instead of software devs.
      • Electron has a lot of built-in data collecting metrics, which they urgently need for creating a real-life KITT.
      • Easy live embedding of content. Sure you can add your own solution, in fact I created ETML as a solution for this problem for my engine, all without any support for nasty scripting languages or convoluted stylesheets (style-inheritance in CSS turned me off from webdev even more than JS did). At best, it can be used for things like embedding videos on Discord, because no one else thought some universal approach, let alone one that disallows proprietary players. At worst, it’s being used for ads.

      Also a lot of Windows-only apps are Electron apps, only because the manufacturer wants to go “fuck you”, even putting protections into the code just in case you wanted to run it on Linux.

      EDIT: Forgot the “live embeds” reason.

      • klangcola@reddthat.com
        link
        fedilink
        arrow-up
        1
        ·
        4 months ago

        Another reason is when developing the Web version first. Draw.io is a good example, where we get a bonus desktop(electron) version “for free” though the product was developed as a web app.

    • lime!@feddit.nu
      link
      fedilink
      arrow-up
      1
      ·
      4 months ago

      one of the funniest (and sadly accurate) things i’ve heard said about linux backwards-compatibility is that its most stable API is Win32. you can run really old windows software on wine because they support stuff even windows doesn’t anymore.

      of course this is because the expectation is that you can just recompile old software to work on new systems, which is not really a thing on window.s

        • Archer@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          4 months ago

          It’s very amusing to imagine devs carefully watching for an EOL/EOS date and starting to build software only after

  • yogurtwrong@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    4 months ago

    Show me how you never programmed anything without telling me

    Software should be maintained, not built and forgotten about. Windows encourages the latter, which is just straight up bad practice

  • pet the cat, walk the dog@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    4 months ago

    (Apple as a platform is so closed that it couldn’t be influenced by this utter crap and the developers can use the OS native API’s.)

    A hidden gem of stupidity and nonsense in the already pretty dumb tirade.

  • Zen_Shinobi@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    4 months ago

    I feel the opposite. I expect things NOT to work on linux.

    Just wait until they figure out Mac has been an OS just as long as MSDOS

  • olenkoVD@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    4 months ago

    I hate the Windows API so much. There are like 100 million function that all start with a capital letter and take a kajillion arguments just to do the most simple thing imaginable (see CreateThread). And there are twenty different typedefs for the same type (PSTR, LPSTR, tchar* all point to char*). Also all variables and function arguments should start with their types, like hWindow if the window is a HANDLE.

    I hate this joke of a programming interface so much, I hope everyone sticks to programming with POSIX and platform-agnostic libraries.

    EDIT: And also, did I mention that if you want to use it, you get all of it or none of it? It’s literally a single header file named Windows.h. You get just that and take it or leave it.