HNHacker News
TopNewBestAskShowJobs

hrififjkrjr

34 karma · joined July 11, 2021

submissionscomments
hrififjkrjr··on The Web Is Eating the Desktop (2017)
I didn't provide arguments because there are other articles explaining why reactive/declarative programming is superior. I just wanted to point out that there are experienced GUI programmers who find web tech better for this purpose, it's not just kids who only know JavaScript.

You really need to try React/Vue. Vue is actually much simple to get started with and understand if you just want to try it out.

Once you use a reactive GUI, there is no going back to manually managing controls state like in Qt.

> How can one return an <h1> from a function with a straight face?

People used to say that about Python, that no serious programmer would use a language with significant white space.

hrififjkrjr··on The Web Is Eating the Desktop (2017)
The usual retort is "people use Electron because they only know web technologies".

No, it's not only that.

I've been programming GUI apps for 30 years, going through TurboVision, Delphi, MFC, WinForms, wxWidgets, Qt, WPF, native Android/iPhone, and probably 2 more I forgot about.

They all suck terribly when compared to React/Vue/HTML/CSS.

Creating a GUI app with web tech it's just so much more productive. It's like comparing the productivity of Python to C++. Sure, you can't write an audio editor in Python/Electron, but for 90% of GUI apps it makes no sense to use native frameworks. They are as productive and expressive as writing in assembly.