News for hackers. Stuff that matters.
Re:HTMx by marcus_holmes on Friday May 26, 2023 @12:46AM (#36080052)
The "new hotness" only matters if you're going to try and get a job as a FE dev in a large team. The "old hotness" still works, and likely has the more obscure bugs worked out of it.

And you can always just write the thing in JS without any hotness at all. The JS ecosystem's obsession with frameworks is a diversion. You really only need a framework if your site is super complex. And even then, if you're careful about how you write your JS, you may not need a framework (you'll end up creating your own, probably).

I'm with you that the JS ecosystem is a seething mess, but I don't think that's actually a problem unless you want a job as a FE dev. You can just ignore it ;)

Re:HTMx by leidenfrost on Friday May 26, 2023 @01:29AM (#36080345)
This.

90% of the toolchain is not required at all. Just quality of life improvements.

Good ES6 (and TS) idiomatic code feels actually closer to reading Scala than reading a legacy Jquery app.

And the V8 engine has so much investment in optimizations today that is actually closer to Java and in some cases lighter than Go.

IMHO people don't hate JS in reality. They hate the strawman made of the worst parts of Junior code ever encountered and inconsistencies that really don't happen in practice unless you actively look for them.

Re:HTMx by sroussey on Friday May 26, 2023 @02:11AM (#36080632)
Same could be said for php…
Re:HTMx by Andrew_nenakhov on Friday May 26, 2023 @01:25AM (#36080318)
I usually oppose the use of any new "hotness" in a project until it is ~10 years old.