4 ms·
> I sort of suspect that Electron's popularity is due to it being accessible to the hordes of JavaScript developers Look, let's not kid ourselves, we all hate
by Tehnix 9y ago
> I sort of suspect that Electron's popularity is due to it being accessible to the hordes of JavaScript developers
Look, let's not kid ourselves, we all hate JavaScript like it's the plague, but no other framework comes even close to the ease of CSS/HTML and a drop of JavaScript for interactivity (transpiled from a sensible language), when it comes to GUI development. It's such a fucking embarrassment working with Gtk, Qt, Tk whatever have you, it's not even funny. Even native mobile dev (Swift/Java) is easier through a web interface, because nobody wants to have to remember that you had to "drag click from here to your source code" or "add this to your xml file to make it accessible".
Honestly, Electron is a shitty resource hog, but it is a trillion miles better than what the current offerings are.
- josephg 9y agoI'm really surprised we haven't seen the functional style of elm, react and friends backported into modern gui frameworks. A react-like framework for native apps written entirely in swift would be killer - swift is a much better language than JS, and the resulting apps would be much smaller and snappier than what we get with electron or react native. C#/F# would be a great candidate for this kind of thing too.
- blub 9y agoQt QML is JS with a declarative UI language and C++ when you need it. On the other hand you have JS with a document markup language combined with style sheets. And the first one is embarassing you say. And declaring UIs in HTML and CSS is easier than in QML. Why do you even post this. I mean... it's trivial to disprove it. Do you subscribe to the idea that if one makes enough noise their arguments will win out?
- orodley 9y ago>the ease of CSS/HTML Is this a joke? I can't use either of those for more than 5 minutes without wanting to commit self-harm.