News for hackers. Stuff that matters.
Re:Ask HN: What do you enjoy about JavaScript? by smackeyacky on Sunday September 26, 2021 @01:45AM (#28658704)
(Old joke) The thing I most enjoy about javascript is closing the editor when I'm done.

Typescript seems like a genuine improvement but I am too lazy to learn it properly.

Re:Ask HN: What do you enjoy about JavaScript? by armchairhacker on Sunday September 26, 2021 @01:10PM (#28662544)
I like TypeScript a lot more than JavaScript. Types make a language significantly easier to understand/debug in general, and you can write very functional TypeScript code with lambdas, ADTs, pattern matching (although the last 2 are ad-hoc and not quite as good as real ADTs/patterns)