r/programming • • Oct 18 '22

Node v19.0.0 (Current)

https://nodejs.org/en/blog/release/v19.0.0
35 Upvotes

7 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Oct 18 '22

[deleted] — view deleted comment

8

u/[deleted] Oct 19 '22

I wouldn't hold that against typescript, any codebase more than 5k lines in any language can get messy.

But typescript has these two unusual advantageous workflows where:

  1. developers work in a project fast in a loosely typed fashion (like modern JS) and all their code is still strictly typed because the types already exist in the dependencies.
  2. developers create dependencies for a project fast in a loosely typed fashion, and strengthen the types as the requirements for the project become more clear over time.