Static Typing Strikes Back

Apr 04, 2014

Is the dynamic typing craze over?

TypeScript, CoffeeScript, Hack, Go and Rust are all new statically typed languages. Not too long ago it would have been strange for a new language not to be dynamic. What happened?

Full disclosure… I’ve never been a fan of dynamic typing. I hate writing tests just to make sure something is a string or an int.

I’m also not a fan of the Java style of typing… way too verbose and repetitive.

After using Haskell for many years I’ve seen how a good type system can operate. While I don’t think that level of static typing is appropriate for every language, I do feel that any typing is better than none.

Of course I have no proof but my gut feeling is that developers are starting to see that some static typing is not that bad.