News for hackers. Stuff that matters.
Re:TypeScript 3.6 by gvkhna on Wednesday August 28, 2019 @06:11PM (#20824576)
I think another way to look at some of the benefits of TypeScript is class introspection. By writing your classes in an idiomatic manner, it makes it trivial to see the shape of your api’s without you having to write large amounts of documentation. As well TS compiler will check you’re using the api’s correctly. Huge wins!
Re:TypeScript 3.6 by Scarbutt on Wednesday August 28, 2019 @06:34PM (#20824753)
For another perspective, the TS compiler which is written in TS has zero classes.