DEV Community

Discussion on: TypeScript is the Only Programming Language you Need to Learn. One language to rule them all!

Collapse
 
rammina profile image
Rammina

Agreed, besides other languages in which are used along with Typescript, the language itself has some downsides and case scenarios in which it's not the ideal language to use.

dev.to/rammina/downsides-of-typesc...

Collapse
 
ixartz profile image
Remi W.

Definitively, TypeScript has some downsides. But, once you take the time, TypeScript has a lot of advantages.

You have all the advantages from JavaScript with less negative ones.

Thread Thread
 
rammina profile image
Rammina

Typescript does not have all the advantages from JavaScript.

  • TypeScript can somehow hinder the creativity that JavaScript gives you, because of its clunky boilerplate.
  • Some third-party libraries work well with JavaScript, but are an awful experience with Typescript (those that don't have type definitions files).
  • It also leads to longer build/compile time

Note: I am not personally attacking you, I mean well in the sense that I don't like misinformation.

Thread Thread
 
ixartz profile image
Remi W. • Edited
  • In my previous comment, I was referring for someone has taken the time to learn TypeScript. After the learning time, TypeScript don't influence your creativity. At the end, JS and TS are the same language.
  • All modern framework and libraries have definitions files. Only less popular/unmaintained libraries and framework don't have definitions files. If a project don't have definitions files, it's really a good indication to not use it. Is it a good point?
  • With modern tooling, it's negligible and it doesn't impact your work. Under the hood, it might increase the build/compile time but unnoticeable for a human (the developer).
Thread Thread
 
rammina profile image
Rammina

Unfortunately, I can't agree with you in good faith. Here are my counterpoints:

This is coming from someone who loves Typescript by the way.

Thread Thread
 
ixartz profile image
Remi W.

You haven't understood my responses... I have always put nuances in my responses and you have miss the important notion in my response.

Maybe my writing wasn't good enough or you miss what I trying to say.

Thread Thread
 
rammina profile image
Rammina

No worries! :)

I will stand by my opinion, you can have yours, and so does everyone else.

We can just agree to disagree.

Collapse
 
anuragvohraec profile image
Anurag Vohra

"..has few downside", so does every language!