Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Stop Bashing TypeScript

DZone's Guide to

Stop Bashing TypeScript

· Java Zone
Free Resource

The single app analytics solutions to take your web and mobile apps to the next level.  Try today!  Brought to you in partnership with CA Technologies

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.

CA App Experience Analytics, a whole new level of visibility. Learn more. Brought to you in partnership with CA Technologies.

Topics:

Published at DZone with permission of Victor Savkin, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}