Comment

Comment by rafaelmn

Typescript can be very complex - it can also be incredibly simple - it's up to you how far you want to take it.

Sure it can be an adventure to express something fully in it - but this is true for any type system I've seen.

And I haven't seen another type system that's integrated into a dynamic ecosystem as well (IMO python is 5 years behind in terms of type checking experience) and that lets you chose the level of type sophistication that makes sense.

Static typing, code analysis, automated testing, etc. are all great tools that become counterproductive past a certain point. Where that point is highly depends on what you're doing and typescript is one of the most flexible type systems at letting you make that choice. I'd say a lot of people are terrible at recognizing when they went too far with it for no practical gain.

My only problem with it is that they can't fix the shit JS semantics.

parent rafaelmn 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton