https://channel9.msdn.com/posts/Anders-Hejlsberg-Introducing-TypeScript is an excellent Channel 9 movie in which Anders Hejlsberg (the keeper of C#) gives a firehose of information on TypeScript which is vaguely akin to CoffeeScript in that one may write impossible JavaScript code that then compiles to real JavaScript code. The stuff that is empowered by TypeScript is optional static types, classes, and modules, the fundamentals for making a sizable yet maintainable application.
This example shows that one cannot have a .name property hanging off of a string without the compiler objecting:
No comments:
Post a Comment