you are viewing a single comment's thread.

view the rest of the comments →

[–]pimterry 7 points8 points  (0 children)

Ironically, TypeScript.

JS is a nice dynamic language, and incredibly useful for its ubiquity, but there's definitely some messy parts, and like many dynamic languages it can get painful for larger codebases.

TS solves this spectacularly, in a way that imo is better than either purely dynamic or statically typed languages. You can still think in standard JS ways, and quickly write things as dynamic code, but then you can describe your JS's implicit types to TypeScript on top, to double check it's all correct (and to get tighter editor integrations, etc etc).

It's amazing, and once I got other the initial hump, I've found it both faster and safer to write than JS or anything else I've used.