Myral

Members
  • Content Count

    2
  • Joined

  • Last visited

Posts posted by Myral

  1. I am not the most experienced user, so I would like to know your opinion. And if I write in the wrong topic, I also apologize.
    Does a JavaScript developer need to learn TypeScript? And why do you use TypeScript?

    I tried to use it a little, and here are the advantages I highlighted for myself:
    - Because it looks cleaner than jsdoc type annotations.
    - Because it can give better autocomplete in your editor of choice than javascript.
    - Because I've found bugs caused by typos in npm packages that could easily have been avoided if they used TS.
    - Because the "private" keyword looks better than js' new "#" private variable-name prepend.

    I heard a lot of positive reviews about TypeScript and at the same time negative reviews, so I would like to discuss this topic.