Re:Ask HN: What made you change your mind about a programmin...
by spricket on Sunday March 03, 2019 @11:40PM
(#19298823)
I agree that the type system is very complex. I've spent a lot of time wrapping my head around it and still get confused sometimes.
Unfortunately Typescript's type system is largely driven by the need to represent anything you can do in JS, for library compatibility reasons.
The main designer also wrote C# and Delphi. In a lot of ways, C#'s type system is better (less complex), but Typescript has the huge advantage of working with existing JS
Unfortunately Typescript's type system is largely driven by the need to represent anything you can do in JS, for library compatibility reasons.
The main designer also wrote C# and Delphi. In a lot of ways, C#'s type system is better (less complex), but Typescript has the huge advantage of working with existing JS