Is the madness ever going to end?
37 points by denimboy 3 years ago | 24 comments- onion2k 3 years agoThey [Electron and React native desktop apps] constantly crash and have no value over a native desktop application.
No they don't. I use VSCode, Slack and Spotify literally all day, all at the same time, with at least 3 Chrome windows open with between 3 and 20 tabs in each, and I honestly can't remember the last time any of it crashed. I use a few other Electron apps on and off and they don't crash either. Electron can be a bit of a memory hog, but that's more Chromium's eager caching than Electron. I also have Safari, Firefox and Edge running most of the time and they don't crash either. In fact, the only app I use that crashes regularly is Android Studio.
Admittedly I only really use OSX so perhaps it's different on Windows or Linux, but the "Electron crashes a lot" trope is almost certainly due to either using poorly written Electron apps (going native won't help you if the dev sucks) or running something else that's killing them (don't run that thing?). Electron is fine.
- cosmotic 3 years agoI haven't experienced the electron process crashing but I have many times seen an electron app 'reload' by surprise; I suspect this is a default exception handler catching something that wasn't otherwise caught and would consider this 'an electron app crashing'.
- mattlondon 3 years agoI have personally also never experienced a crash in an electron app on win or Linux either.
- cosmotic 3 years ago
- paxys 3 years agoIs it these people's full time job just to rant about tech, or do they actually produce anything of value?
Use PHP if you want. Use Electron if you want. Use an established http server, or write your own. Host on AWS or a Raspberry Pi in your closet. Write plain HTML in notepad. No one gives a shit.
The only people complaining are the ones not actually coding.
> Also, if you found any of the content on this website useful consider supporting me on Patreon ;)
Or maybe this was the reason for this strawman-laden rant all along.
- Karrot_Kream 3 years agoMost of these rants have a playbook. They start at the default position that the poster is smart while everyone around them is an idiot (or compromised by corporate interests or some other conspiracy). They then construct a bunch of weak strawmen to show why everyone around them is an idiot and why they're so smart, and then they present their idea which must be correct because they're the only one around who isn't an idiot/corporate drone/whatever. But these rants never actually engage with the current status quo other than calling it stupid.
- throwawaygh 3 years ago> Is it these people's full time job just to rant about tech
Not at all full time, but lead gen is part of the contractor gig :)
- Karrot_Kream 3 years ago
- 3 years ago
- kkfx 3 years agoWhy is this post flagged? Despite it's tone it state a valid and perfectly shareable consideration about IT evolution. Ok, it's a rant but...
Apart from that: I goes beyond that post. We keep pushing new things that's confirm Greenspun's tenth rule, or they try to (re)create normally ignoring past creation, things Xerox &c implemented decades ago.
The most advanced modern notebook UI are actually limited implementation of classic text editors like the old Tioga, just far heavyweight and a bit more pixel perfect/colorful, and FAR LESS featureful.
Modern web (aka web 2.0)? An user-depriving Xerox Star Office System and so on.
The common denominator is re-implement such past ideas in a way to keep users out of control/out of the "power of IT" + plugged-in surveillance. A rant might be not that insightful but definitively pertinent...
- greenyoda 3 years ago> Why is this post flagged?
Maybe because it's a duplicate post of a recent big discussion: https://news.ycombinator.com/item?id=29898030
(HN Guidelines say you can repost after a year has gone by. This was posted only about 2.5 months ago.)
- greenyoda 3 years ago
- reidjs 3 years agoThis is a whiney rant that boils down to “what’s wrong with kids nowadays? Things were so much better back in my day.”
- uranusjr 3 years agoSomewhat interestingly the author describes themselves as “ageless” in the About page
- uranusjr 3 years ago
- dijit 3 years ago
- mattlondon 3 years agoAbstractions are vital aspects of computer science.
Raw machine code worked! Why are idiots wasting time with this Fortran abstraction nonsense! /s
Javascript itself is still just fine - npm et al always struck me as a bad idea I agree, but I have zero issue with using what are basically linkers and compilers on JavaScript in the same way we'd do the same thing with a c linker and compiler, so I am not sure where the hate is coming from. If you are railing against splitting your code up into easily manageable separate files and reusable components then you are just wrong, sorry (no one wants an entire application in a single spaghetti file).
- throwawaygh 3 years agoThe JS ecosystem is sort of what you'd expect to get if you created LISP with C/Java syntax and then that weekend hack became a dominant language purely on the back of historical accident. Which is exactly what happened :)
- throwawaygh 3 years ago
- throwawaygh 3 years agoHe answers is own question at the end:
> A company may save both time and money in the beginning because, yes you can get something running quickly, but they always pay the price in the long run when they are faced with all the issues their bad decision has caused.
So, you'll get cleaner and more robust software when the economic incentives do not richly reward moving fast and cheap at the beginning of product life cycles.
(This comports with my experience. Mostly, over the last 15 years, during the explosion of the online economy and the associated great economic dislocations, you could avoid the madness by avoiding web programming.)
- midiguy 3 years agoOnce again, author gives a couple vague points against single-page applications while conveniently failing to address all of the bullshit that came before with PHP and friends. These rants are always the same two or three substance-less paragraphs, concluding before offering any sort of concrete examples or reasoning.
Author expresses:
'In the past IT people, whether we're talking about programmers or something else, were very clever people.'
Yes, an age before programmers started wasting time on these vapid blog rants
- vsareto 3 years ago>They constantly crash and have no value over a native desktop application what so ever
Well maybe, but you can blame the the top companies and greybeards for not doing cross-platform better. Abstraction is how we don't have to deal with deciding which OS is the best for the average user.
But anyway, there was still a wide spectrum of quality for desktop applications way back then like there is today.
- zttg 3 years ago100% Agree!
It is reasonable to try all those modern frameworks, tons of npm packages, webpack, sass, preprocessors, typescript.
And then throw this shit as far away as possible, because right now you have a beautiful javascript support in Chrome, if you need it, and you can render everything you need with React when you compile, i.e. prerender, your website.
Complexity these days is way beyond what we are ready to support. While React seems to be cool at start, in the end it, as any other framework, is a pain in the ass, 10 times bigger than any other solution
- k__ 3 years agoAnother episode of "old man screams at the cloud"?
All points in this rant boil down to gatekeeping.
Sure, Electron, React-Native, PHP, and whatnot might not have maximum performance. But they allow people to build things that couldn't do it in the past. Now we get apps from different demographics than the author belongs to, which is a great win in my book.
- ohCh6zos 3 years agoIf this is gatekeeping then not all gatekeeping is bad. I want my pilots and surgeons gatekept to the degree it lets only the competent through. Likewise I want software gatekept to the degree it prevents poor software from being written.
- Karrot_Kream 3 years agoI'd want gatekeepers to gatekeep based on proof not based on feelings. American aviation is said to have its regulations written in blood, but the industry has a very methodical process for adding rules. Each crash has inspectors get involved attempting to get to a set of root causes which inform new safety regulations. It's an evidence based process. They don't just depend on the baseless ranting of some person's blog.
- Karrot_Kream 3 years ago
- ohCh6zos 3 years ago
- lowbloodsugar 3 years agoI've not read the article, but in general the answer to the question "Is this madness ever going to end?" is "No." and usually because, if it isn't outright clickbait, it's only madness from one parties perspective, and indeed, more often than not, the madness is actually the new normal.
- V__ 3 years agoAlthough the author sounds a bit "boomer-ish" and "get off my lawn" in his blog post, I do agree with him in essence.
Especially his quip about websites being just JavaScript which generates the HTML. I have an old MacBook Air which I use when I have to work while travelling. This doesn't happen often, so I didn't replace it. It's mind-boggling how slow the web has gotten on it.
If developers developed on older machines, they would get so frustrated by the bloat that it would get solved overnight.
I think the industry (generalizing) doesn't care about this, because bandwidth, loading-times etc. are external costs and if one "moves fast and breaks things" in hope of getting another round of VC funding, then there is no time to care about this. In my view, the web gets worse with every new JS dependency/framework and what not.
Oh and if your website or web-app doesn't work without javascript (generalizing) then it is part of the problem.
- pedro2 3 years agoI think this was posted less than 3 months ago.
- natn 3 years agoTLDR: exploring new ways of doing things or optimising for developer experience is stupid.
"The entry barrier to programming needs to be high!"