News for hackers. Stuff that matters.
Re:Essential Electron by flukus on Thursday August 25, 2016 @03:06AM (#12357335)
If JS + HTML + CSS is all they know then I really don't want their software running on my machine.
Re:Essential Electron by creshal on Thursday August 25, 2016 @03:54AM (#12357490)
For me, JS+HTML+CSS isn't (I had to outsource most of the UI code to our webdevs), but Qt or GTK (or, god forbid, Cocoa and whatever is Microsoft's newest fetish) are so much less productive that I just cannot justify writing in it any more. If you want a smooth UX with things like animated scene transitions (people scoff at animations, but if used sparingly and at the right places, they improve usability), or just any non-standard widgets, it's far, far easier to do everything in HTML.

And the beauty of Electron is that you can still write all your actual logic in C/C++ and use Node's FFI to bind it to your UI.

(Qt is transitioning to the same model with its HTML+JS based Qt Quick orchestrated from native code; but it's far less production ready than Electron right now.)

Re:Essential Electron by flukus on Thursday August 25, 2016 @04:03AM (#12357516)
My comment wasn't so much about the quality of the tools (I'm currently learning react native), but the type of developer that only knows js.

A developer that only knows js is unlikely to be competent (beginners aside).

Re:Essential Electron by krisdol on Thursday August 25, 2016 @07:26AM (#12358193)
The type of developer that only knows one language of any kind is in the same boat. Electron is popular because folks can write products at a faster pace than they could in other toolkits and languages. Being unproductive and fighting your tooling is not a sign of competency, nor is it a rite of passage. If folks can write apps faster in Java or Rust (which I love writing, by the way), I'm sure Electron would not have the adoption curve it does. Nothing to do with only knowing one language.
Re:Essential Electron by creshal on Thursday August 25, 2016 @04:05AM (#12357525)
> A developer that only knows js is unlikely to be competent (beginners aside).

Oh, don't get me started…

Yes, that's a problem. But Electron can hardly be blamed for it. They'd use XULRunner if it didn't.

Re:Essential Electron by wyqydsyq on Monday August 29, 2016 @07:52PM (#12386358)
I also know Python, Go and Rust, but I only use them for tinkering and experiments. I'd still use JS+CSS+HTML via Electron for a GUI app over traditional systems languages any day of the week.