What Do You Think About Types?

Miklos Bertalan - Feb 18 '19 - - Dev Community

I accidentally posted this on Sunday for a short time, just after promising to continue as a weekly Monday series. In case you saw that post or commented on it, I'm sorry. This is the final republished version.

A few things are becoming de-facto solutions in JavaScript with a lot of tutorials but without much discussion about the practical benefits and reasons. The goal of this series is to talk about these topics.

The rules:

  • Speak about the whys, not the hows. It's okay to include a few favorite libs and patterns but it should not be the main focus of your comment.

  • No Googling! I am interested in Your opinion, experience, anecdotes, and gut feelings.

  • Your comment might get linked or quoted in the weekly summary if you are not asking otherwise. I never quote comments in a negative context.


This week's topic is Types

  • Do you prefer strongly or weakly typed languages?

  • Do you have a favorite language type system wise? What makes it better than the rest?

  • Can you mention situations when using types caught early errors for you?

  • How does TypeScript relate to group projects? Does it make the barrier of entry and cooperation simpler or more difficult compared to vanilla JS?

  • Whatever pops into your mind about types.

All comments are welcomed, there is no wrong answer!

. . . . . . . . . . . .