News for hackers. Stuff that matters.
Re:It is hard to avoid JavaScript by solardev on Sunday February 25, 2024 @12:45PM (#39502905)
Why do you believe that (it's a better experience)? Are you talking about for the developer or the user?
Re:It is hard to avoid JavaScript by tracerbulletx on Sunday February 25, 2024 @01:01PM (#39503068)
So just for context the one's I've used are WPF, UIKit, Electron, and Qt. And using Electron was easiest to develop on for me because the tooling just worked, everything updates instantly in a real running browser environment, and layout was predictable and easy to get it to work exactly how I wanted on actual devices. Is that cause I have more experience with the browser platform? Maybe it is, but that is probably the other main reason people use it. Personally I think the dom and css makes total sense. A tree of nodes where you can address nodes with selectors to style them. Seems pretty ideal, I don't know what I would do differently.
Re:It is hard to avoid JavaScript by wiseowise on Sunday February 25, 2024 @01:04PM (#39503100)
Both.

As a developer you can tap into endless pit of resources for web development.

As a user, you can access same program on all platforms without any changes and continue where you left off, what’s not to like?

Re:It is hard to avoid JavaScript by bee_rider on Sunday February 25, 2024 @01:32PM (#39503378)
I would rather know straight-out that a company doesn’t have real native support.
Re:It is hard to avoid JavaScript by moritzwarhier on Sunday February 25, 2024 @01:59PM (#39503639)
I have used many native GUIs on Windows that looked blurry because they din't get font rendering right and that only work at a fixed window size.

Both in enterprise and consumer software.

Yes, they probably weren't holding it right, were written in Java and/or sth else.

But I don't understand where the sentiment that native=better comes from.

I like native applications too, when done well. For example, I still like IntelliJ IIRC, this does use Java for GUI? Also it doesn't use native controls.

Re:It is hard to avoid JavaScript by wiseowise on Sunday February 25, 2024 @02:08PM (#39503720)
> But I don't understand where the sentiment that native=better comes from.

OCD.

Re:It is hard to avoid JavaScript by bee_rider on Sunday February 25, 2024 @11:25PM (#39507661)
> But I don't understand where the sentiment that native=better comes from.

Some of it is integration, the UI just looks nicer for native apps and the graphical language is the same as the rest of the system.

Some of it is performance, these non-native toolkits always seem to bring along too much junk.

Some of it is vibes, if an organization is willing to invest in a native app, it seems like they are probably more interested in sticking around.