An introduction to TypeScript and ES Modules

By DEV Community - 2020-12-11

Description

JavaScript is everywhere, and TypeScript is JavaScript with some cool extra features. You've probabl... Tagged with javascript, typescript, webdev, node.

Summary

  • JavaScript is everywhere, and TypeScript is JavaScript with some cool extra features.
  • Snowpack just works out of the current directory if you've not configured anything.
  • combineCoordinates("blah","blah2");// Would crash during execution JavaScript is weakly typed (you can put any type of data into any variable), so would run this code just fine, until it crashes trying to access the properties x and y of our two strings.
  • Changing code becomes easier, as you don't need to remember every place you use a certain shape of object, your editor will do that work for you, and you'll find bugs sooner, again, with your editor telling you that you're using the wrong type of data before your application crashes in the browser.

 

Topics

  1. Coding (0.24)
  2. Frontend (0.21)
  3. Backend (0.07)

Similar Articles

goldbergyoni/nodebestpractices

By GitHub - 2020-12-19

:white_check_mark: The Node.js best practices list (December 2020) - goldbergyoni/nodebestpractices