Hacker News new | ask | show | jobs
by scarface74 2989 days ago
How much of this is the fault of the Electron runtime and how much is fault of the developers?

It's completely the fault of the developer for choosing Electron when there are better tools available.

2 comments

What would you use? (honest question)
If you want a native app, use native tools for each platform to create the best user experience.
This is effectively asking to double the size of the engineering team, or slow it down dramatically.

If I were a startup or small business, I'd rather ship a slightly slow-feeling app with my existing team of web developers who already know their tools, than to hire a bunch of native developers and somehow get them all on the same page.

> If I were a startup or small business, I'd rather ship a slightly slow-feeling app with my existing team of web developers who already know their tools, than to hire a bunch of native developers and somehow get them all on the same page.

That might be the time where you'd want to stand out from your competitors by shipping a fast, native app rather than a web app.

Slack was able to stand out from its competitors by providing a reasonably fast web app. Nobody cared (cares?) about the desktop app.

It sure seems like you can compete with a good feature set and fast iteration on your product. Throwing more web developers on the project is often the right call, so you can keep shipping new features quickly on every platform.

I'd love to be proven wrong, but performance seems to be an afterthought to the market.

> Nobody cared (cares?) about the desktop app.

Let me tell you, people do care about the desktop app, and not in a good way…

It depends on how you define "success". I define a "successful" business as one that is profitable.

Is Slack good enough that enough people will pay for it to make it a sustainable long term business?

https://www.recode.net/2017/6/15/15810088/slack-deal-funding...

How many people use Slack desktop app? They also have good native apps for Android and iOS.
Yes. I'm asking a business that want to provide a native client to provide a native client.

If it can be done as a web app why not do it as a web app?

Yes I am a developer and for products that are suited to be on the web, I write websites.

What if that business wants to provide an "app" icon in the macOS dock, and a "program" in the windows start menu, without hiring a bunch of native developers? What would you advise for them, if not electron?
If they want to have happy customers they won't do that - electron apps eat battery life compared to just going to a website.
And asking to drop Linux support.
Is that a bad thing? What does the Slack "native" app do that the website doesn't? The website supports push notifications on the desktop.
Qt?
ever used VS Code?
Yes. I went back to Visual Studio. If I were using a Mac, I would buy Rider in a heartbeat.
Eh, I like it. It loads quickly and doesn't tap resources. I typically use Visual Studio as well, but I do it when I need to do a quick edit of a file or quickly see syntax highlighting on something to review. Basically, Electron isn't bad. It is most likely the fault of the implementer if it goes that direction.

I think Brackets is served in Electron as well and that seems to be a lesser quality implementation. I like Brackets, but the performance is somewhere between VS Code and a full fledged IDE.