tommorris,
@tommorris@mastodon.social avatar

This is view source on the Threads homepage. Modern front end development is beyond satire at this point. In desktop Firefox with out-of-the-box uBlock Origin, it renders a completely black page.

At some point, people will rediscover the unfashionable idea that plain old HTML is pretty good if your goal is publishing bits of text on the internet. Maybe after that, if they want to make it look nice, they could look into these exciting new Cascading Style Sheets we hear so much about.

optimiced,
@optimiced@mastodon.social avatar

@tommorris @Meyerweb Do you remember when we could push online a whole one-page website by using less than 5 KB of HTML and 10 KB of CSS? Without any complicated JS frameworks, dependencies, countless bloated scripts and other cr*p? What's more, a human could instantly and easily read the HTML and CSS, learn from it, or modify it. I miss those times! :(

nemobis,
@nemobis@mamot.fr avatar

@tommorris Imagine a world where doesn't require JavaScript and 6 MB of resources to display 500 characters... https://github.com/mastodon/mastodon/issues/20336

hub,
@hub@cosocial.ca avatar

@tommorris remember they have dedicated teams to obfuscate the code to make sure ads are indistinguishable from fascism.

dragonarchitect,
@dragonarchitect@rubber.social avatar

@tommorris Jesus H. Farging Christ. Why on earth would a webpge require that many fricking scripts??? Is everything rendered through DOM manipulation or something????

zorinlynx,
@zorinlynx@tiggi.es avatar

@tommorris It also blows my mind that any internet service deems it acceptable to not be usable through a web browser. It's like... they don't want to exist to anything but mobile toys.

steveworkman,
@steveworkman@webperf.social avatar

@tommorris I love how the whole thing just sits there consuming CPU constantly

Bredroll,

@steveworkman @tommorris ... why...why are the '/' chars in those urls escaped???

veronica,
@veronica@mastodon.online avatar

@steveworkman @tommorris I mean, if it was a cryptominer, at least it would do something ...

brezelradar,
@brezelradar@norden.social avatar
serhiyguryev,

@tommorris The network logo is injected in base64 format... And it's repeated on every web page...

DexFolf,

@tommorris Images like these make me glad I'm still using LAMP

john_fisherman,
@john_fisherman@mastodon.social avatar

@tommorris I mean, these are the masterminds behind React. Unsurprising.

john_fisherman,
@john_fisherman@mastodon.social avatar

@tommorris nice thread.

itsthejoker,
@itsthejoker@fosstodon.org avatar

@tommorris the alt text for this needs to be more descriptive. What is the image showing that is worth including the image?

tommorris,
@tommorris@mastodon.social avatar

@itsthejoker yep, will have a look shortly at improving it.

wook,
@wook@fosstodon.org avatar

@tommorris @Meyerweb .. instagram html (.html page itself, not other files or DOM after rendering) can be up to 5MB .. I think it has a big JSON blob delivered with the raw html. Zuck’s dev teams are nuts.

carcosa,
@carcosa@emacs.ch avatar

@tommorris They have played us for absolute fools.

godzero,
@godzero@sfba.social avatar

@tommorris
JavaScript: killing the web one page at a time. 🤣

crit,

@tommorris I've never even touched web development before, and even I can see this is horrid.

synoisia,

@tommorris I am 100% in agreement.

Revertron,
@Revertron@zhub.link avatar

@tommorris FB's home grown obfuscation, I presume?

franz,

@tommorris it's really insane what's happening with the web; Consent nonsense, IP blocks and bloatware.

Been on YouTube recently? It loads the page and all videos, then pops a consent form in your face, and whether you accept, or deny, the whole page loads again - with different videos 🤢

MoskitoHero,

@tommorris what surprises me most is that this is supposed to be clean stuff: we're talking about a brand new product, produced by one of the most powerful tech companies in the world, and all they can come up with is this pile of nonsense.

jake4480,
@jake4480@c.im avatar

@tommorris 🤮 I love plain old HTML. This hurts 🤣😂

gabboman,

@tommorris and I felt bad when I made wafrn in angular my god

spokeek,
@spokeek@shelter.moe avatar

@tommorris What about performance ? Because code can be ugly, but if it loads and runs fasts, then it's better for the end user.

tommorris,
@tommorris@mastodon.social avatar

@spokeek plain html generally kicks the ass of SPAs in my experience

jpmartin,

@tommorris politely going to pushback against the arguably eye-catching FUD: this is not “modern”; this is industrial. Modern frameworks like Astro see this problem and are doubling down on no-JS / low-JS by default. Facebook, Instagram, and Threads are obvious targets but I know vanishingly few leaders in the space would consider them paragons of web development.

jonnydeane,
@jonnydeane@mastodon.social avatar

@jpmartin @tommorris I bloody love Astro.

hbuchel,
@hbuchel@hachyderm.io avatar

@jpmartin @tommorris I keep thinking about this post and how React feels so much like the large corporate legacy code you can't wait to get away from after work when you can finally work on the "fun" stuff.

jpmartin,

@hbuchel @tommorris My coding life exactly. The thing is, I get it. React allows you to be crazy productive when everyone on the team is jamming on the same twisted wavelength. But when I turn to the side projects, the React-tinted glasses come off and I get to play with bespoke little jewels of HTML, CSS, and — as a treat — some sprinkles of JS.

Mya,

@tommorris bloat beyond comprehension :Blep:​

veronica,
@veronica@mastodon.online avatar

@tommorris Haha, OMG. What a complete mess frontend dev has become.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • tacticalgear
  • DreamBathrooms
  • cisconetworking
  • khanakhh
  • mdbf
  • magazineikmin
  • modclub
  • InstantRegret
  • rosin
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • ngwrru68w68
  • JUstTest
  • everett
  • tester
  • cubers
  • normalnudes
  • thenastyranch
  • osvaldo12
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • megavids
  • lostlight
  • All magazines