
TypeScript and the Power of a Statically-Typed Language
The New Stack Podcast
00:00
Typescript Is a Good Extension to Javascript
typescript is a way to express types into the syntax as a light weight extension to jabuscrip. Typescript lets you write function in johnscript without having to think about what kind of inputs you're going to be given. We've just given you a way to write them down and validate them. If you expect a string and someone gives you a number, like something weird is going to happen. The types were there. It wa as whole nother of thing. You had to go cond o larn the type system wasn't very expressive in a bunch of dimensions.
Transcript
Play full episode