3 ms·
I remember a time when HTTP was used to transfer HTML _documents,_ and not these "progressive web app" monstrosities. It felt a bit unusual to visit blogs or ne
by ryandv 3y ago
I remember a time when HTTP was used to transfer HTML _documents,_ and not these "progressive web app" monstrosities. It felt a bit unusual to visit blogs or news sites and be bombarded with megabytes of JavaScript from over a dozen domains. Isn't the focus of these sites supposed to be on the textual, written content? How much JavaScript is actually required to deliver what could have been (if you squint hard enough) a Word document? I mean, that's what HTML documents _were;_ after all, it's called the document object model.
And then I remembered that I wasn't the actual user of these sites; no, I was the one being used. The reason all of this JavaScript is necessary is to load tracking pixels, analytics agents, and advertising networks onto the page to generate revenue and data ("the new oil!") for the site's operators.
Don't get me started on web developers' penchant for pursuing whatever front-end framework is in fashion these days. I get it, I've written my own monstrosities in highly tortured, purely functional TypeScript with fp-ts with ADTs and monads and Tasks; sometimes it's too difficult to resist from scratching that intellectual itch. But after a few years of bouncing from prototypeJS to jQuery to backbone to angular to react to vue to svelte - goddamn, does it ever end? Is anything really gained from this never-ending, ever-accelerating treadmill of newer and newer frameworks which seem to pop up faster than they can be replaced in extant codebases?
All of this at the expense of the end-used, er, end-user.
Having spent a little while exploring the metamath site [0] and its associated program, I am stunned at how snappy, simple, and _long-lasting_ the whole thing is. There are theorems here dating from fucking _1994,_ and the site is still being actively updated. There is no framework, only one binary that generates static HTML documents, which are then served to your browser, no need for client-side rendering or XHR or advertising or cookie popups, or hell, even JavaScript entirely.
But I am just shaking fists at a sky that will never fall, thanks to the shoulders of the distributed Atlas of hordes of developers keeping this digital house of cards standing.
[0] https://us.metamath.org/mpeuni/mmtheorems.html https://us.metamath.org/mpeuni/mmtheorems.html
- shaftoe444 3y agoYou might like https://no-js.club/ https://no-js.club/
- Tade0 3y ago> Is anything really gained from this never-ending, ever-accelerating treadmill of newer and newer frameworks which seem to pop up faster than they can be replaced in extant codebases? It slowed noticeably after React took over the market. Svelte and SolidJS are the first entries since 2013 that offer something new. Meanwhile large organisations often use Angular and have been since its introduction. But to answer the question: yes. Svelte in my view is one example of how complexity is slowly but surely dialing down thanks to the lessons that were learned along the way - for the first time in almost a decade you're getting a legible stack trace and this is a huge, unexpected boon associated with the approach used there.
- commandlinefan 3y ago> not these "progressive web app" monstrosities And these progressive monstrosities came from somebody's attempt to "simplify" things down to where somebody who didn't actually understand what they were doing could produce something that was usable. > resist from scratching that intellectual itch...prototypeJS to jQuery See, I don't think that in most cases this comes from developers, but rather from non-technical (or worse, formerly technical) managers who read somewhere that "this new jQuery thing makes app development get done really fast". At the end of the day, the only thing that ever matters, the only thing anybody ever measures, and the only thing anybody ever remembers is "meeting the date".
- mediumsmart 3y agoSo true for these people, and all they have is NOW, this moment on their way to meet that one date they will not remember. however it's not all wasted so don't worry, be happy and remember, the best times as a developer are when you ride your bike or take a walk or swim in the lake, preferably in summer time :)