News for hackers. Stuff that matters.
Re:Can You Afford It? Real-World Web Performance Budgets by Retric on Friday October 27, 2017 @10:50PM (#15573738)
You can do all of that with very lightweight JavaScript though. 10+ years ago I did autocomplete using a few carefully crafted lines of code and the page still renders just fine.

The problem is JS frameworks make development easier but have high real world costs that are often ignored.

Re:Can You Afford It? Real-World Web Performance Budgets by andrewstuart2 on Friday October 27, 2017 @11:33PM (#15573863)
Your second sentence describes engineering trade-offs. The simplest engineering solution to a canyon is to walk around it. The most practical or productive solution over the long run is a different question entirely from the simplest or easiest to implement.
Re:Can You Afford It? Real-World Web Performance Budgets by TeMPOraL on Saturday October 28, 2017 @07:29AM (#15574779)
Yup, those are engineering trade-offs. Making your life a little easier by causing users a disproportionate amount of resource waste, frustration and security issues is just shitty engineering. Even though the business types may like it, because externalities are good for profit.
Re:Can You Afford It? Real-World Web Performance Budgets by Retric on Saturday October 28, 2017 @07:08AM (#15574721)
Frameworks are simpler to implement and maintain, that does not make them better for users.
Re:Can You Afford It? Real-World Web Performance Budgets by mmcnl on Saturday October 28, 2017 @04:57AM (#15574492)
Are JS frameworks really easier than your good ol' fully server-side rendered websites? I doubt that. There are costs for everything, both for using and _not_ using JS. It's silly to think that only using JS adds a cost and nothing else. That's just tunnel vision.
Re:Can You Afford It? Real-World Web Performance Budgets by ozim on Saturday October 28, 2017 @04:26AM (#15574434)
"I did autocomplete using a few carefully crafted lines of code"

Now take 10 developers to reuse that autocomplete in the same project in 10 different places. I bet those carefully crafted lines become 100 little monsters, one without eye other with 3 legs.

Not that they have to be stupid, it is just they think differently.

Re:Can You Afford It? Real-World Web Performance Budgets by TeMPOraL on Saturday October 28, 2017 @07:31AM (#15574789)
If they were really carefully crafted, then they likely can be carefully repackaged into a solution that could be included in those 10 different places with zero - or close to zero - runtime overhead on the code sharing mechanism.

But it takes actual thinking - and care - to do that. Something that seems to be in short supply with the current web trends.

Re:Can You Afford It? Real-World Web Performance Budgets by Retric on Saturday October 28, 2017 @07:10AM (#15574725)
Users don't care about development. Sure, for us frameworks are great, for them the trade offs look far worse.