DEV Community

Discussion on: Pitch me on TypeScript

Collapse
 
kevinrobertandrews profile image
Kevin

I would like to add that TypeScript is much better at communicating fundamental object oriented principles over JavaScript.

If you're only used to writing JS, you might not have a clear picture of how interfaces, abstract classes, access modifiers, and return types can not only simplify a design but also greatly communicate intent.

This is especially true if you are trying to learn design patterns, or understand how JS is quite different from other programming languages.