News for hackers. Stuff that matters.
Re:Show HN: I made a HTMX Playground 100% in the browser by naasking on Monday January 08, 2024 @09:32AM (#38912419)
> I admit that I initially started to use HTMX to avoid JS, but I am now more comfortable than ever before to fall back to some lines of Javascript in the few cases where HTMX does not feel like a great fit to solve the problem at hand.

Many people don't realize that great engineering happens under constraints. When you're faced with an empty project and the full power of JavaScript, you have 5,000,000 ways to do something and the chance to make a series of wrong choices that back you into a corner is high. By contrast, when you're working within a system that constrains the available choices, the possible design paths are considerably fewer and so the system becomes more understandable and maintainable, which makes for a very straightforward, comfortable dev experience.

Re:Show HN: I made a HTMX Playground 100% in the browser by loceng on Monday January 08, 2024 @10:02AM (#38912909)
The same goes for great design, of course figuring out the constraints is the trick with design - when there aren't really the same hard hardline guardrails that programming languages have; I suppose platforms like Figma attempt to create relatively rigid rails to follow.
Re:Show HN: I made a HTMX Playground 100% in the browser by recursivedoubts on Monday January 08, 2024 @01:46PM (#38916270)
"The absence of limitations is the enemy of art."