3 ms·
What does a "great type system" mean?
by mixmastamyk 8y ago
What does a "great type system" mean?
- tomjen3 8y agoWhat does a great painting mean? It is hard to explain, you will have to go check it out on your own :)
- nojvek 8y agoBeing able to define the type of something with a lot of flexibility. Most languages only allow one kind of type. Typescript can have unions or types from intersections or extended types. It has an innovate set of type algebra inspired from different languages over time. Not only that but once you have types for inputs, it can infer a lot of things. Augment the humans with almost magical code completion ability because it can reason using types and static code. It helps catch a whole bunch of issues in a dynamic language like Javascript. I’d say Typescript makes javascript fun and scalable to use.