With this, VSCode, Slack & Boostnote - a good portion of my daily work is done in Electron apps and I can't say I'm itching to switch to native alternatives.
Definitely appreciate how people have issues with it, but it doesn't seem like it's going away and hopefully will only get better.
When it's used well (VS Code) it works like anything else, when it isn't (Atom) it doesn't.
It might use more memory, but as developers we usually have GBs of spare RAM, isn't it there to be used anyway? A lot of apps on Linux are available because Electron makes porting easy.
I think it's a great technology.
Taking your "used well" example of VS Code as an example, any Mac user trying to seriously use it for more than a minute will find plenty of problems. The scroll bars are thicker and more boxy and do not auto-hide; the cursor appearance is different (the line is too thick and fades in and out instead of just blinking); the page-up and page-down behavior is different (the cursor moves rather than just staying in place; infuriating!); what gets selected when you double- or triple-click on bits of code is different. Some people can get over this sort of stuff and use it anyway. I, personally, cannot.
I know VS Code is highly customizable; is it possible you installed some customizations to make it behave more Mac-like?
Some of the behavior you mention is also by design.
P.S.: what's a good editor for the Mac in your opinion, then? Sublime Text is good and native, but the file explorer shows folders first instead of folder content mixed like everywhere else on macOS--and that's _actually_ infuriating.
You mean these things weren't happening, or they were but they didn't bug you? :P
> what's a good editor for the Mac in your opinion, then?
I use Coda 2. It does too much with its built-in terminal and MySQL client and Git client and FTP client and manuals, but it's mostly possible to just use it as a code editor and ignore the rest. (The one thing that it doesn't have built in that I wish it did is a GDB debugger.) It was pretty crashy right after High Sierra was released, but the developers eventually ironed those out.
So you're using an outdated editor because you don't like VS Code's scrollbars (which can be themed, btw)?
It's a dead product.
It hasn't changed in 5 years.
I mean, by your standard, how much has vi changed over the last 35 years or so? Is vi dead?
Totally different things.
For what it is worth, I'm on one now and am experiencing the same issues.
I'll tolerate a good electron app, but I'll always prefer native.
If you're sending requests that can return very long json responses, Insomnia can lock up and force you to restart it.
Paw is a pretty good native alternative but it's macOS only, doesn't have a free tier beyond a short trial period, and has some UI quirks that made me ultimately go back to Insomnia despite the electron borne downsides.
If Insomnia could offload the request response parsing/formatting to a WebAssembly module it would be perfect.
I can't recall ever having a problem with curl and a large response.
Yes, these others are probably doing something like parsing the response and making it pretty and that's where the problem is. But just sayin'. (Also, most of the time, curl's memory usage can be measured in kilobytes. Again, just sayin'.)
(I'm not affiliated with them, just like the product)
I won't say I didn't intend to stir the shit a little with this comment and figured I'd rightly it would be downvoted or flagged into oblivion, but now it's my most upvoted comment in the last week or so. So people seem to appreciate it a lot more than anticipated. Maybe every Electron app that shows up on HN needs an "Electron warning!" subthread.
So what? Did it in any way foster interesting discussion? No, just the opposite. It's bad and you should feel bad.
Six subthreads and seventeen total subcomments so far, so apparently so. Exclusive of this particular subthread, of course.
I don't mean to "shit on" Electron, it has it's uses - I just avoid it when possible.