News for hackers. Stuff that matters.
Re:JavaScript Structs by iainmerrick on Thursday October 10, 2024 @06:30PM (#41804226)
This is quite a compelling story, but thinking about it, I don’t fully agree.

There’s more than one language that I initially disliked, and only learned to like after some of (what I saw as) the glaring flaws were fixed. After they added more features!

For one, Objective-C. I didn’t like it at all until they added ARC, removing the need for manual addRef / release everywhere. After that, coming to the language pretty late, I came to like Obj-C quite a lot.

JavaScript is another one. For a long time I thought it was an awful language and avoided using it, but a few things have brought me round and now I really like it:

- modules

- async/await

- TypeScript, if you’ll allow that as a “JavaScript feature”

I even quite like JS classes, although I could live without them.

Simplicity is good, but power and expressiveness are also good.

There are no comments on this comment yet.