Hacker News new | ask | show | jobs
by ecmascript 2106 days ago
I completely disagree. Stability isn't better when you do everything yourself, actually in my experience, it's worse.

For example, if I want my users to be able to scan a generated qr code, I am not going to write a qr code generator myself since that is quite a lot of work. I will use a trusted library to do that for me.

In this way, the library will have had a lot of eyes, patches all the time fixing bugs and so on. If I would try and make a QR code generator, I would most likely make a lot of mistakes and bugs that more seasoned people that have experience in making such functionality already have experienced and fixed.

If I stopped writing code for the company I work for today, the application would work just the same in one year, in two years etc. I don't get why a desktop app would be more stable than a web app in that sense. I would argue a web app is more stable since we don't really break backward-compatibility in a browser in the same way people do in desktop operating systems.

Sure there is something to be said to not use a big ass framework for some small app. I think frameworks usually brings more pain than it's worth in the long run. But having dependencies in modern applications is a must, even in desktop applications because people expect and demands it. If you would not use dependencies, your customers would choose your competitors most likely.

1 comments

A web app cannot be more stable than a native app but there are trade-offs, it's simpler to target an app that would open on most browsers even if it does't work too efficiently. If there was only one browser in the world web apps would be a whole lot more stable but that's not the world we live in. I think the only reason people stopped writing native apps in favor of web apps is manly for the cost benefit and we as users are getting a good enough experience but not perfect. The landscape is changing quickly, not sure how the whole webassembly thing is going to run but there's some hope.
Semantics. Because the web changes more than native. Like com 32 been around for 30 years, doom still runs in windows 10. We still cry when microsoft patches... Well you can't have your cake and eat it.