HTML5 Zone is brought to you in partnership with:

Victor is a ruby developer at Nulogy. He has worked a lot with Java and Ruby platforms. Being a big fan of domain specific languages he likes to blog about implementing them using Groovy, Ruby or Clojure. Victor is a DZone MVB and is not an employee of DZone and has posted 44 posts at DZone. You can read more from them at their website. View Full User Profile

Stop Bashing TypeScript

10.03.2012
| 3899 views |
  • submit to reddit
I was unpleasantly surprised to see all the bashing of the TypeScript language. Like “the last thing I want to see is type errors”, “all these types! only C# developers will use it”, etc.

I’m curious if all the people complaining about type errors have ever used languages that have optional structural types? How many of them had spend a couple of weeks playing with Strongtalk and Newspeak? How many of them had mastered OCaml and Go? The fact that somebody had some unpleasant time using Java ten years ago doesn’t give him or her the absolute knowledge about all the type systems in the world.

Where does this arrogance come from? Don’t you want to try a language with an optional type system and see how it differs from the mandatory one? Aren’t you curious about structural types? No? That’s alright, you don’t have to. But then don’t bash the language you haven’t tried.

By the way, I haven’t used Microsoft products for many years. And most of the development I’ve been doing recently involved a lot of Ruby and Javascript. So I’m not a C# programmer who cannot live without autocompletion.

Published at DZone with permission of Victor Savkin, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)