3 ms·
I’ve settled on htmx not because I’m anti-JS, but to avoid Node/NPM, build steps, duplication of logic, etc. For me, it’s the ecosystem that’s problematic, not
by ralmidani 3y ago
I’ve settled on htmx not because I’m anti-JS, but to avoid Node/NPM, build steps, duplication of logic, etc. For me, it’s the ecosystem that’s problematic, not the language itself.
Also, “just learn JS” is a lazy and off-the-mark response to complaints about having to use JS. Do I prefer Python? Yes. However, I’ve pretty extensively learned and used JS, and I teach a full-stack JS bootcamp. I still think insisting that everyone has to write lots of JS __just_because__ it’s the language that got integrated into browsers is a bit tyrannical.
- wiseowise 3y agoYou can use JS to write application that can be used across all major platforms without any changes. On top of that, a lot of modern languages can compile to JS or WASM. You call that tyrannical?
- leptons 3y agoDo you remember when the most widely used web browser supported 2 programming languages? Javascript and VBScript. It didn't work out so well, and everyone making browsers agreed it was better to focus on one language so the browser didn't become an even larger attack surface. Javascript has become highly optimized and very hardened against attacks, and has improved significantly over the years, and if you __must__ use another language, then WASM is there for your needs.