|
|
|
|
|
by the_duke
2575 days ago
|
|
This comparison is flawed, imo. Typescript is Javascript with a relatively advanced type system (mapped types, type guards, etc) on top, but is still very much constrained by Javascript fundamentals and syntax. The type system evolution was primarily driven by the need to create valid typings for the existing JS ecosystem, and this noticeably shapes the capabilities. This is the right choice for the language, but I can't see how it resembles the ML family much. |
|