TypeScript (or the obligatory post about it)


Like many of you, I've been itching to see what Anders had up his sleeve and I wasn't disappointed yesterday when they announced TypeScript. After teaching all day, I took a quick look at TypeScript (and I do mean quick).

There was a lot of buzz yesterday and the response seemed to be in one of two camps (for the most part):

  • From some: Microsoft is Saving the World from JavaScript
  • From others: Microsoft is ruining JavaScript and is Just Recreating CoffeeScript

I think I am in the middle of this. TypeScript reminds me a lot of LESS. What I mean by that is that I think the smart thing they did was make all JavaScript valid TypeScript. In case that isn't clear, TypeScript is a superset of JavaScript. This means that they're adding some features to JavaScript to help with large, enterprise sized codebases including:

  • Classes
  • Modules
  • Interfaces
  • Parameter Typing

What I really do like is that, unlike CoffeeScript and other similar projects, is that it is JavaScript. That means that I only need to use TypeScript when I need these particular features. It should make it easier to add this into existing projects without having to do a whole new language. (Also, I am stay in my comfortable curly brace, semi-colon filled world ;)

Have you had a chance to see what it's like? If so, what do you think?


Ready to Learn Vue with ASP.NET Core?

My new Wilder Minds' course is available as an Early Access for only $79. It will be released on a weekly basis. The first module is now available:

Enroll Today


Shawn
Shawn Wildermuth
Author, Teacher, and Coach




My Courses

Wilder Minds Training
Vue.js by Example (Now Available)
Bootstrap 4 by Example
Intro to Font Awesome 5 (Free Course)
Pluralsight
Less: Getting Started (Coupon Available)
Building a Web App with ASP.NET Core, MVC6, EF Core, Bootstrap and Angular (updated for 2.1)
Using Visual Studio Code for ASP.NET Core Projects
Implementing ASP.NET Web API
Web API Design

Application Name WilderBlog Environment Name Production
Application Ver v4.0.30319 Runtime Framework x86
App Path D:\home\site\wwwroot\ Runtime Version .NET Core 4.6.26919.02
Operating System Microsoft Windows 10.0.14393 Runtime Arch X86