|
|
|
|
|
by mhh__
790 days ago
|
|
I think the point isn't really about the value of type safety but rather the value-add of bothering with the whole of typescript (as in the type safety they provide rather than an abstract ideal) versus some other solution. It's quite annoying IMO. Some of the things it can be infer are reasonably impressive but then that gets balanced out with having to write out a lot of crap that something a bit more HM-like would be able to nail immediately (rather than just "Any!? Fuck you"). That and the refusal to add other value-adds (despite being a compiler in all but name) hobbles the union types and so on. |
|