DEV Community

Discussion on: TypeScript?.. or JavaScript?

Collapse
 
richytong profile image
Richard Tong

I spend about 1% of my time dealing with types and type related bugs in JavaScript.

I resonate with this. If it ain't broken, why bring in an entire language to fix it? TypeScript makes the problem of types in JavaScript bigger than it is. Also, thanks for the link to Eric Elliot's article; good reads all around.

Collapse
 
f1lt3r profile image
F1LT3R • Edited

Thanks. That makes sense. In my experience, it has been mainly junior engineers making a big deal about types. I get it. It's hard to understand the quirks without enough experience using JavaScript. But I don't think that makes typed languages easier. Perhaps it's a matter of taste for the most part, but I would guess if those junior engineers really learned modern JavaScript, they'd question whether they really wanted to pay the TypeScript tax. Building an identical project in both would be a great lesson in trade-offs.