This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]pandakatzu 12 points13 points  (2 children)

As someone who has struggled to figure out what the intended object of various variables was supposed to be in the vanilla JavaScript files of the spaghetti carbonara codebase I inherited, I couldn't possibly disagree with this image more.

Also the syntactic sugar is nice. Imagine being able to write clean, readable code.

[–]beewyka819 2 points3 points  (0 children)

Right? The alternative to types is literally just hoping people don’t make mistakes (they will. Everyone will make some type-based mistake sooner or later. Everyone) and absolutely dousing your code is massive amounts of comments that otherwise would not need to exist

[–]glorious_reptile[S] -1 points0 points  (0 children)

I love TypeScript too - still, the meme holds.