pull down to refresh

I love websites-as-rants
Hey, dipshit! You know what loads faster than your bloated, overengineered mess? Plain, unadulterated HTML. And you know what doesn't break every motherfucking Tuesday? HTML that just fucking works. Why the fuck are you overcomplicating things, you masochistic fuck? You're out here acting like you're building the next goddamn moon landing when all you need is a button and some text.
Newsflash, asshole: the web was doing just fine before your bloated frameworks crawled out of the sewer. You're out here dropping ten grand on some fancy-ass framework like it's a Gucci purse, just to haul around the same shitty groceries you could've carried in a plastic bag from 1995. Why the hell are you jumping through all these hoops when HTML's been sitting there, ready to go, since the dawn of the goddamn internet?
I guess this wasn’t made with love, hosted on GitHub lol
reply
60 sats \ 0 replies \ @rblb 14 May
Once people used to say that structure should be html, graphics css and computation js.
Now js frameworks think they should just do everything. I am convinced jquery's fadeIn started the domino that bought us here 🗿.
reply
50 sats \ 1 reply \ @nichro 15 May
Reminds me of the motherfucking website
"Good design is as little design as possible." - some German motherfucker
reply
Although I agree..... I can't help but feel that we're just old me yelling at clouds.
reply
oh nice, I was just telling @ek the other day that I'm embarrassed about writing my website in html, but now I feel justified. Not that I have much of a choice, I learned html in 8th grade, and it's all that my toolbox contains.
reply
0 sats \ 0 replies \ @ek 15 May
I thought you were only embarrassed that it shows HTML in the URL because it looks untidy
There's absolutely nothing wrong with using (raw) HTML when that's all you need
reply
54 sats \ 15 replies \ @ek 14 May
I didn't even read it yet but I already know I'm going to love it
I built zapback with HTMX and I didn't regret it
reply
100 sats \ 14 replies \ @rblb 14 May
htmlx is a javascript framework
reply
It's an "un-framework", in that beautiful middle spot between HTML and convoluted shit like Next... the DX is completely different
reply
Someone once told me, so proud of their cypherpunkness, they weren't using javascript on their website because they made it with htmx.
I've never looked closely at htmx, but I knew they weren't just making use of hidden html attributes or something.
reply
17 sats \ 11 replies \ @ek 14 May
So? The point is that I didn't have to write a ton of Javascript that renders HTML myself, HTMX is only adding attributes to HTML, and it's not a "bloated, overengineered mess."
Working with HTMX is completely different from other JavaScript frameworks, so saying HTMX is a Javascript framework isn't appropriate imo.
reply
50 sats \ 6 replies \ @rblb 14 May
No, it is not adding attributes... all custom tags and attributes are valid in html, they just do nothing by default... HTMX is calling a ton of querySelectorAll to select its own custom tag and then run javascript on them.
This is very inefficient and bloated, you can just write html and use plain javascript querySelector for the elements you need, this is what htmx does, it just does it for a lot of stuff you don't need.
reply
0 sats \ 5 replies \ @ek 15 May
Please explain how the inefficiencies and bloat you see in HTMX actually matter. Do they significantly slow down the site or make HTMX too complicated to use?
But to entertain your argument: it's 1,604 lines of code in a single file 1 with zero dependencies. If there's something you don't need, you could just remove that code yourself. That's how simple it is. Try doing that with a common JS framework like React, Vue, or Angular.

Footnotes

  1. How much "bloat" can there be in less than 2,000 lines?
reply
Unpkg cuts the code at 1600 lines, the full source is actually 5000+ lines.
There is no point in judging quality and efficiency by counting the lines of code... a 10 line code can be slower and more inefficient than a 1000 lines code, what matters is what the code does.
React, vue and angular are also zero dependency. There is also a lightweight version of vue .
It looks like you sing praises to htmx only because it is a less known outsider than the other frameworks that everyone uses, but it is really no different, and you often don't need a js framework. That's my point.
deleted by author
somebody should share this convincing the HTMX Twitter account... in sure it would be very appreciated
reply
10 sats \ 2 replies \ @ek 15 May
I don't understand. Convincing the HTMX twitter account of what?
reply
apologies.. late nite swypo.
s/convincing/conversation
33 sats \ 0 replies \ @rblb 15 May
I love websites-as-rants
You must like this too then: https://wiki.theory.org/YourLanguageSucks
They are professionals, they also keep track of the things that improve 🗿
reply
I love websites-as-rants
As an aspiring WAR service provider, I certainly feel supported by you.
reply
I love calling someone an asshat. I don't know what it means, but I love it.
reply
The tone sounds like unhinged Grok
reply
It could be.
reply
Honestly yeah. HTML is always starting points for programmers and it’s always forgotten
reply
HTML is server rendered. It does load fast, but is not responsive without some javascript woodo. Frameworks are there to not invent a bicycle.
reply
HTML is rendered in browser
reply
Me too
reply