←back to thread

50 points senfiaj | 2 comments | | HN request time: 0.001s | source
Show context
SurceBeats ◴[] No.45809221[source]
The article is kind of right about legitimate bloat, but "premature optimization is evil" has become an excuse to stop thinking about efficiency entirely. When we choose Electron for a simple app or pull in 200 dependencies for basic tasks, we're not being pragmatic, we're creating complexity debt that often takes more time to debug than writing leaner code would have. But somehow here we are, so...
replies(7): >>45809249 #>>45809272 #>>45809432 #>>45809461 #>>45809481 #>>45809606 #>>45809909 #
empiko ◴[] No.45809481[source]
What is often missing from the discussion is the expected lifecycle of the product. Using Electron for a simple app might be a good idea, if it is a proof-of-concept, or an app that will be used sparsely by few people. But if you use it for the built-in calculator in your OS, the trade-offs are suddenly completely different.
replies(1): >>45809648 #
pjmlp ◴[] No.45809648[source]
A large majority of Electron crap could be turned into a regular website, but then the developers would need to actually target the Web, instead of ChromeOS Platform and that is too hard apparently.
replies(1): >>45810324 #
1. Incipient ◴[] No.45810324[source]
I've recently gone back to more in depth (but still indie) Web dev with vuejs and quasar, and honestly I don't even find myself thinking about "targeting Web" any more - I just write code and it seems to work on pretty much everything (I haven't tested safari to be fair).
replies(1): >>45811529 #
2. jtbaker ◴[] No.45811529[source]
Vue is so good! I've been encouraged seeing more organizations mentioning using it (in the hiring thread etc.) lately.