Over a million developers have joined DZone.

Stop Bashing TypeScript

· Java Zone

Learn more about how the Java language, tools and frameworks have been the foundation of countless enterprise systems, brought to you in partnership with Salesforce.

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.

Discover how the Force.com Web Services Connector (WSC) is a code-generation tool and runtime library for use with Force.com Web services, brought to you in partnership with Salesforce.

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 best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

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

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

{{ parent.tldr }}

{{ parent.urlSource.name }}