News for hackers. Stuff that matters.
Re:Htmx, Raku and Pico CSS by naasking on Monday September 09, 2024 @09:48AM (#41488545)
> but as far as I can tell, you're still writing those same templates, just using your backend language instead of JS.

Yes.

> Which is convenient, but hardly "less code"

It is strictly less code because you're no longer validating on both client and server. It's also more than just "convenient", because it also forces you to stick to the well understood browser UX, ie. all state is URL-addressable.

Re:Htmx, Raku and Pico CSS by scoofy on Monday September 09, 2024 @12:18PM (#41490061)
I would rather write 1000 lines of Python than 100 lines of JS.

Nothing wrong with JS, I'm just not fluent in it. Whereas, Python is my native programming language, and I can just see it without looking anything up. This is why I love HTMX. I just want basic web interaction without having to do it all in Javascript.