• Post Calendar

    February 2015
    S M T W T F S
    « Dec   Mar »
    1234567
    891011121314
    15161718192021
    22232425262728

TypeScript vs. JavaScript

Headline: It seems that TypeScript is a better alternative to JavaScript – investigate it.

Testability

The biggest issue I had with JavaScript was the lack of testability. Until a colleague of mine pointed out one of my previous posts I completely forgot about some of the techniques for testing JavaScript. But from what little I’ve read the testability of TypeScript is much better using tsUnit.

Other Sources

In my research I ran across numerous posts about why TypeScript is a good approach:

I also ran across some that say “It didn’t fix the problem.” But, all those say that JavaScript doesn’t fix it either. They don’t think that JavaScript is better, just that even TypeScript fall short.

Summary

If you’re just using JavaScript for your coding you’re probably not building a scalable application that’s maintainable. And the code is likely going to look like a collection of hacks.

However, that’s my opinion as someone that works on many software development projects but can’t afford to have them become buggy or high maintenance.

Leave a Comment