News for hackers. Stuff that matters.
Re:A Real World React – Htmx Port by nine_k on Sunday October 16, 2022 @12:14AM (#33220978)
Frankly, with yarn, typescript, and a packaging / compressing tools of your choice, web frontend development is pretty pleasant and efficient these days. (To say nothing of using Elm, if you can afford it.) Typescript is particular is nice compared to, say, Python, and even to Java (though modern Java is quite neat.)

The only unpleasant part is dependency management, but you have the same, or worse, with Python or Ruby, and neither Java nor Go are completely hassle-free either.

Re:A Real World React – Htmx Port by nathanappere on Sunday October 16, 2022 @05:15AM (#33222302)
Really curious, how is it worse with Ruby?
Re:A Real World React – Htmx Port by chris12321 on Sunday October 16, 2022 @05:34AM (#33222372)
With bundler, Ruby dependency management is excellent. I don't think I've ever had a problem setting up an app where the Ruby dependencies are the issue. I certainly can't say the same for JavaScript apps.
Re:A Real World React – Htmx Port by germandiago on Sunday October 16, 2022 @08:09AM (#33222973)
Typescript nicer than Python? Bc of speed? Python has typing module + mypy to be warned about typing mistakes.
Re:A Real World React – Htmx Port by KuiN on Sunday October 16, 2022 @08:24AM (#33223055)
It may have improved significantly since I last used it (9 months ago?) but mypy was a world away from the ergonomics, quality of tooling and maturity of TypeScript.