4 ms·
"First of all, JavaScript. JavaScript is not a great language for anything except inside the browser. It never was and it likely never will be, unless it gets a
by iamsaitam 2y ago
"First of all, JavaScript. JavaScript is not a great language for anything except inside the browser. It never was and it likely never will be, unless it gets a decent standard library and ditches its type coercion and many other broken language features. No amount of developer discipline and linting can truly mitigate this. Unfortunately, we’re kind of stuck with JavaScript in the browser, but let’s not use it anywhere else if we can help it."
He should have started with this paragraph.. because every other language out there doesn't have flaws.
Also, where is the error handling in the htmx example? The React snippet handled that. It's very easy to make contrived happy path examples. What about input sanitation?
I think the author isn't objective at all and makes a poor case for htmx.