Hacker News new | past | comments | ask | show | jobs | submit login

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.




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.


Would you target the same API, or invent your own?


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: