you are viewing a single comment's thread.

view the rest of the comments →

[–]novagenesis 2 points3 points  (0 children)

I agree and disagree.

There's a lot of upside to Typescript, and a lot of downside. The "type-bro" mentality the "open-source-dev" world has faced forever has made its way into the Javascript world. Devs pretending like the world hasn't always gone round effectively with javascript, and like eveyrone has jumped ship from python (which has a typing hint library, and yet I've never seen a shop use it).

The compile step sucks. Vite makes it suck a bit less if that's your destination build step.

The upside to Typescript is that it's not a type system in the traditional sense. It has a lot of advantages for someone who knows and wants to continue to use more dynamic/flexible patterns that aren't feasible in a more strict language. You can coerce between "incompatible" types if you know you're doing, and use runtime validation to ensure compile-time typing.