News for hackers. Stuff that matters.
Re:Why is modern web development so complicated? by buboard on Thursday August 08, 2019 @08:38AM (#20643931)
You mean like amazon or ebay or paypal or yahoo? Or like how facebook was so html that they wrote their own php interpreter?
Re:Why is modern web development so complicated? by mmczaplinski on Thursday August 08, 2019 @09:26AM (#20644287)
you mean the same facebook which created react.js? If you think any of those companies is not betting heavily on JS, you're out of touch :)
Re:Why is modern web development so complicated? by buboard on Thursday August 08, 2019 @09:46AM (#20644489)
maybe, but i dont think they grew because of JS. they grew despite it maybe ;)
Re:Why is modern web development so complicated? by reroute1 on Thursday August 08, 2019 @10:32AM (#20644935)
maybe, but it's impossible without it
Re:Why is modern web development so complicated? by UncleMeat on Thursday August 08, 2019 @12:13PM (#20645829)
None of those sites are static html. Not even close.
Re:Why is modern web development so complicated? by buboard on Thursday August 08, 2019 @12:40PM (#20646077)
html != static
Re:Why is modern web development so complicated? by azernik on Thursday August 08, 2019 @04:03PM (#20648094)
Static literally == not using JavaScript to manipulate the DOM. Once you're stuck using JS for core functionality, you really want a decent programming language.

I think people are complaining about two separate things - actually-static-ish websites like newspapers, shipping 10MB, and web apps like Facebook shipping 10MB. The latter is an unavoidable outcome of shipping Serious Software; the former is mostly driven by ad networks, not development ease.

Re:Why is modern web development so complicated? by kuzimoto on Friday August 09, 2019 @08:28AM (#20653672)
I think static could have multiple meaning, and the one the original comment meant is ambiguous. There are "static site generators" which technically generate static sites, but could still use JavaScript.
Re:Why is modern web development so complicated? by buboard on Friday August 09, 2019 @12:04PM (#20655599)
Yeah we re talking about html, not static. Plus, iirc, it is actually most SPAs that are ‘static’, i.e served as plain index.html containing all the Javascript.