182
Needs (lemmy.ml)
submitted 2 days ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 12 points 2 days ago

Js is indeed painful. I find the right approach is to simply treat it as a compile target. I've worked with ClojureScript when I had to do front end work, and I find it's a huge improvement because it has sane language semantics. You have things like proper equality, comparison by value, immutable data structures, and so on. It's not perfect because you still have to deal with stuff like source maps to get errors out of minified bundles, and you have to interop when you deal with Js libraries, but it's a huge improvement overall I've found.

this post was submitted on 13 Jul 2025
182 points (100.0% liked)

Programmer Humor

37176 readers
56 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS