News for hackers. Stuff that matters.
Re:Htmx 1.2.0 Release by jhardy54 on Saturday February 13, 2021 @09:23PM (#26129102)
On one hand: sure, anything you can express with an abstraction can be expressed without the abstraction. Some abstractions are unnecessary.

On the other hand: this introduces constraints that let you solve a class of problems without giving you so much rope that you can get tangled in it.

I'm very wary of adding unnecessary abstractions, but I'm very optimistic for solutions like HTMX. Lately I've been trying to build apps without any front-end JS, and there are pain points that make me want to allow JS sometimes. My hope is that HTMX/etc might solve these pain points without opening up Pandora's box and letting contributors write arbitrary JavaScript for managing the front-end.

Re:Htmx 1.2.0 Release by ourcat on Saturday February 13, 2021 @09:37PM (#26129172)
I agree.

I'm less worried about abstractions than I am about dependencies.

Which is why I use the foundational core knowledge to build my own solutions/modules. If I can.

Re:Htmx 1.2.0 Release by jhardy54 on Saturday February 13, 2021 @11:28PM (#26129685)
Would you target the same API, or invent your own?
Re:Htmx 1.2.0 Release by ourcat on Sunday February 14, 2021 @01:06AM (#26130079)
I've just learned over the years that it can be ultimately painful to rely on a third-party API. For all sorts of reasons.

I used the words "If I can" on purpose. So yes, if I could, I would invent my own.

And the peace of mind, and hopeful reliability that can provide, can go a long way in your creative mindset.