250
Flatpak integration is still not great
(lemmy.world)
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
sudo
in Windows.Please report posts and comments that break these rules!
Pretty much typical these days. Developers will often use metric tons of middleware hell to avoid writing one function or using native library. What's that, GTK or Qt require few days to learn. Naah, I'll just include whole browser with my application and write interface in HTML/CSS. Who cares about people's configuration, accessibility needs, battery life, screen readers, etc.
There are of course two sides of the story, and you are right that it causes performance/battery life issues. Including a browser does actually improve the situation with screen readers and such.
The big advantage of the "include a browser/large framework" solution is that it allows you to write the application once and use it on web, Linux, Windows, Mac, Android, iOS, some weird TV OS, a game console or someone's car.
Without some middleware you'd be writing 10 different versions and every one would need it's own native libraries that are "just a few days to learn" and "just a few dozen days to master" and only "a few hundred hours to implement and maintain", and the result would be what we had in the 2000s: "Sorry, we do not support Linux."
I'd rather developers don't support Linux than make Electron application and say "there we go, good enough right". Because it's not. When it comes to accessibility, no those applications are not better. You might be thinking their UI is easier to scale and increase contrast but literally none of them respect system theme, colors, font choices.
Some middleware is fine, however blindly importing just about anything is very dangerous and lazy. Cargo cult programming is so widespread am surprised hardware is keeping up with the demand. There's always the right tool for the job and the wrong tool for the job. Just because you can drive nails with a rock, doesn't mean you should, nor you see any carpenter doing it.
Hard disagree. I'd rather run an Electron application than having to side-load Windows for some application I actually need. Also, you don't have to install Electron applications, so if you want you can just pretend they don't support Linux.