this post was submitted on 25 Sep 2023
340 points (94.3% liked)

Programmer Humor

32371 readers
584 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] shrugal@lemm.ee 25 points 1 year ago (2 children)

I personally don't like the htmx style of coding. It often feels like having to explain what I want to do to someone else using only a limited set of custom words, instead of just doing it myself.

[–] soeren@iusearchlinux.fyi 17 points 1 year ago (1 children)

I understand you but for me it's the opposite I am not bound to using js for everything and can just return html from the server like I want. Also everything else still works I can write js if I want to. Htmx gives me more words I can use in html not less. Also I can manage the state via the url and the server. In other frameworks I often had the problem that I was writing the same logic twice in backend and frontend.

[–] provisional@lemmy.sdf.org 7 points 1 year ago

Exactly. Not everything needs to be a goddamn SPA!

[–] fidodo@lemm.ee 4 points 1 year ago

I just peeked at the docs and right off the bat I don't like how they have conflicting attributes like hx-get and hx-post. What happens if both are set at the same time? Why not just have hx-method?