5 ms·
personally, i feel that "X is cancer" is a gross and callous sort of language to use. i agree that electron is a suboptimal choice for a variety of reasons. h
by abiox 9y ago
personally, i feel that "X is cancer" is a gross and callous sort of language to use.
i agree that electron is a suboptimal choice for a variety of reasons. however, one should probably ask a) why aren't these electron-based tools written with another technology and b) would they even exist at all were it not for electron?
perhaps the answer to the "electron crisis" isn't whining, but developing a new and better option (or renovating an existing one) that developers will actually want to use.
- com2kid 9y ago> perhaps the answer to the "electron crisis" isn't whining, but developing a new and better option (or renovating an existing one) that developers will actually want to use. This is a huge part of it. If I want to make a cross platform app, and I don't want to spend 1/3rd of my dev budget on cross-plat abstraction layers, then electron solves a real problem. I can spin up multiple teams, hiring talent that understands 3+ different UI toolkits in depth, write 3 different apps, or use Electron. I can spin up a huge cross-plat team that papers over the file system, app permissions, authentication, the clipboard, sharing, media playback, and text editing, or use Electron. Now as features get more advanced, platform specific implementations will be needed, but to get up and running quickly, and to get something that people want to use, Electron is a great solution. As for the article's comment > There is nothing desktop like about Electron applications, they always feel out of place, even the simplest elements like the native menu bar is not available. Every app now days tries to be its own thing, Chrome feels out of place, Firefox feels out of place, Notepad++ is maybe the one app I use that feels like a Windows app. FWIW Microsoft Office, the parts of which, combined, likely make up the most commonly used Windows app, has always felt different from the rest of Windows, because they acknowledge that specialized apps can use specialized UIs. In the case of Slack, the UI is designed around what the product does. And a browser as a chat room is obvious, chats have been hosted in HTML like containers for ages, and a browser engine supports all the types of things users want to do in chat now days. If you had to choose a tech stack that: 1. Is primarily text based 2. Allows for quick styling of text 3. Supports media inline with text Then a browser fits all of those pretty well. The new HTML5 features that make video chat possible are just icing on the cake. Browsers have made what once used to be a huge differentiating factor (video chat) into something that almost feels commoditized. Not to discount the huge amount of work that is still needed to get video chat working, but working video chat used to be an idea that got huge amounts of startup funding, but now with modern tech stacks, it is measured in engineering sprints. What to do video chat natively? Well, I've certainly noticed that all the native video chat apps on my PC are sorta iffy. The effort to make it work was put into Chrome, why shouldn't everyone else benefit?