Technology
This is the official technology community of Lemmy.ml for all news related to creation and use of technology, and to facilitate civil, meaningful discussion around it.
Ask in DM before posting product reviews or ads. All such posts otherwise are subject to removal.
Rules:
1: All Lemmy rules apply
2: Do not post low effort posts
3: NEVER post naziped*gore stuff
4: Always post article URLs or their archived version URLs as sources, NOT screenshots. Help the blind users.
5: personal rants of Big Tech CEOs like Elon Musk are unwelcome (does not include posts about their companies affecting wide range of people)
6: no advertisement posts unless verified as legitimate and non-exploitative/non-consumerist
7: crypto related posts, unless essential, are disallowed
view the rest of the comments
I have been just bewildered at the proliferation of excessive scripts and garbage on seemingly every webpage over the last decade. I'm no web-dev, but I'm pretty positive that the vast majority of websites could remove 99-some percent of their javascript bs and their websites would function just fine. So many are pretty much unusable these days. It's atrocious.
I've been working at organizing a bunch of stuff I've been collecting over the years .... data, writing, lists, ideas, whatever ..... I kept using all sorts of services, apps, websites, cloud services and all sorts of crap to maintain them all but eventually it all becomes too complicated and breaks down.
I've since discovered just using simple text files and services that just use simple text mark down ... no special service, nothing proprietary, easily transferable and interoperable.
I started looking at websites the same way ..... I don't care what it looks like, I just want to read the information ..... you made it too hard for me to read your simple text info? You're asking me to turn off my ad blockers and turn on Java script? All to read 200 words on your site? I'll skip it and move on to the next site that will allow me.
I manage a web dev team. We try to optimise as much as possible but then there's all sorts of tracking that gets tacked on by personalisation teams, opti teams, things like Tik Tok, Facebook, Twitter/X scripts inserted too... It's pretty shit. And sometimes when things break it makes it super hard to debug too
I'm a web dev and yes they could. It's annoying that web devs get blamed for it though, the reason for all the javascript is mostly business decisions out of our control.
Mainly the tracking scripts which the marketing department adds against out will. But also it's a lot cheaper to have a client-rendered web app than a traditional website (with client side rendering you can shut off all your web servers and just keep the api servers, our server side processing went down 90% in the switchover). And it's more efficient for the company to have one team working in one programming language and one framework that can run the backend and frontend, so the frontend ends being a web app even if it's not really necessary.
Fwiw, I don't blame the devs. That's just me saying I'm not an expert. I understand it's a management/corporate decision.
And thanks for the explanation. That clarifies the changes I've been noticing.
A bunch of websites operating as web apps would help explain the bloat. Great idea if somebody is navigating a good chunk of your website. Horrible idea if 99% of your traffic is people being linked to a news article and then leaving afterwards.
REACT EVERYTHING
I made a stupid little page that downloads a Pathfinder 2e SRD API, and then randomly combines an ancestry, background, and class from that list and displays it on screen. It's really nothing special, I hacked it together in an afternoon. But I showed it to a friend and they were blown away that I didn't use a framework for it. I was like, "it does three things. Why would it need a framework? What would I even use a framework for?"
They still couldn't believe I did it by hand.
I've chatted with a few experienced web devs, and from what I've heard, there's a whole group of "web programmers" out there that just learn React and other fameworks, but don't actually know how to code anything themselves. So many places won't even consider you if you don't know React.
And here I am still thinking jQuery is an excessive amount of page bloat.
This is accurate. I'm a full stack dev, and a huge number of job postings I've seen over the past ten years or so have switched to React.
I recommend to use an adblocker. It's not a moral question anymore but pure self-defence, says multiple US secret services.