9 ms·
I think it's great that Apple chose not to pick favourites and treat the Electron the same as any other application platform. While the release of the latest ve
by jeroenhd 7y ago
I think it's great that Apple chose not to pick favourites and treat the Electron the same as any other application platform. While the release of the latest version of macOS was rushed for many developers and came with some bugs, private APIs should not be used regardless. Ask the Electron people to fix this problem instead of complaining about how Apple is trying to bully web developers.
Or, if you want to build a decent application, make a native one, or make a website. Don't do this weird half-desktop, half-native just because it's easy for you; think about your customers instead.
- kevingadd 7y agoHow do you square this with Apple's new model of desktop Mac apps being repackaged iOS/iPad apps? Is that native or is it half-mobile half-native? What distinguishes that from Electron, in principle? It sounds like what you want is for every application to be hand-written for the target platform using target-specific APIs, because code reuse and cross-platform tech are 'not native' and thus bad. QT and GTK? Not native. Java's UI toolkits? Not native. HTML? Not native. Perl, Ruby, Python? Well, they're not C or Obj-C and their standard libraries aren't libc so they're not native.
- jeroenhd 7y agoI'm fine with Javascript itself, but I want the application render code to use native system APIs. QT and GTK use native system code on most platforms to layout controls. This means the controls are mostly consistent with the rest of the system, even when Microsoft or Apple decides to add more functionality to existing components, for example. If I'm hovering over a button and a tooltip appears, I want it to show in my OS colour theme and font instead of whatever flavour of Helvetica the web designer who made the application found fashionable today. The developer may not like that I can set my system to be in ugly high-contrast mode when I'm tired and don't want all the OS fluff, but please be nice enough to just follow the system theme instead of being the special little app that thinks it knows better. Electron uses an HTML renderer instead of the system compositor. This is the main difference between what I call native and what I don't. If you write an application in Python using standard operating system controls (say, with Gnome/Cacao/Win32 bindings), I'd call it more native than an Electron app, even if the Electron system is more deeply integrated into the system API. I'd also call Java non-native as it decides to drop all system UI components and draw its own. The repacked iOS apps being released on macOS are somewhere in the middle of the void between native and non-native in my opinion: while they use the OS compositing and controls, the layout is often not designed for the platform they run on. Perhaps "badly-designed native" is the best way to describe them.
- ci5er 7y agoIt's Apple's call, isn't it? On what they allow and don't allow on their stores and platforms. It is the end-consumer's call, that they are happy with the product functionality and ecosystem that Apple enabled/allowed. Then the developer's call is to support a platform or not - a business decision, really. I prefer not to support Apple, personally, but if it represents a 40%~60% uplift in sales, and after their rake, 25%~50% in earnings, at some point, I'm probably going to invest in that. If not, then, not. I'm baffled that anyone thinks that any corporation "should" operate any particular way (as long as they are not breaking the law). Government, sure - everyone is probably entitled to that, but otherwise, why not just "walk away"?
- wayneftw 7y agoI am thinking about my customers. The vast majority of them are on Windows, so Mac users are lucky to get anything nice at all. VS Code is better than anything and it’s built with Electron. It’s not weird. It’s way, way better. And if you don’t think so, look at all the users it has who disagree with you.
- xedrac 7y agoAs nice as VS Code is, it feels sluggish to me. I find it interesting how complacent we've become with slow software. I guess ease of development trumps performance in many cases.