Thanks for sharing your insight. If you use Visual Studio Code with tslint/jslint tool, then the type is defined at runtime, which means it will show you the type of the variable dynamically. So if you write

let name = "John Doe" 

and then hover over the name variable, you’ll see the type is a string.

In the end, you decide what you want to choose and what makes you feel comfortable. The article points out that it may not be that scary to work with dynamic typed language as we think.

Check this article out.

Software Engineer sharing interesting tech topics

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store