4 ms·
The problem is, today's applications are not HTML forms with "a tiny bit of JavaScript enhancement." Today's apps are immense JS programs - tens if not hundred
by ssalka 6y ago
The problem is, today's applications are not HTML forms with "a tiny bit of JavaScript enhancement."
Today's apps are immense JS programs - tens if not hundreds of thousands of lines.
Good luck scaling that without modern tooling.
- deleted 6y ago[deleted]
- simonw 6y agoMost of those applications don't need that though. Developers write hundreds of thousands of lines of code because that's what you have to do if you commit to a JavaScript-everything architecture. If the thing you are building needs that then go ahead and build it like that. But SO MUCH of what I see built on the modern JavaScript didn't need to do that at all.
- eska 6y agoBut many, perhaps most, of them could be. Just look at the amount of sites that are being converted to statically generated sites. Static HTML with some Javascript on top. A lot of websites were converted to this paradigm during the pandemic because the initial UX was that the site got DDOSed by legitimate, high load, or hacked. And this is from quick conversion (e.g. scraping a dynamic page, Wordpress plugins, etc). I think there's a lot more potential when sites are built with the static paradigm in mind. My personal blog for example is created by a static site generator I wrote in Rust myself. Instead of manually writing HTML, or using PHP and Javascript at runtime, I handle the complexity at build time. After having done frontend dev for 10 years this approach seems much more sane to me.
- inshadows 6y agoLast time I checked Twitter doesn't even use external stylesheets anymore. It's all in style="" in HTML, probably managed by their JS framework. And it loads super slowly.