DEV Community

Discussion on: TypeScript: JavaScript + Types = Awesome Developer Productivity

Collapse
 
jonrandy profile image
Jon Randy 🎖️ • Edited

The last time I looked at the resulting compiled JS, it was readable, sure, but the amount of superfluous 'belt and braces' code that ended up in there messed with my head. JS written by hand would have done the same job more efficiently - minus all the tooling, transpiling etc.

It just seems a waste of time to me. Each to their own I guess

Thread Thread
 
qm3ster profile image
Mihail Malo

Really? That sounds shocking to me.

Can you please post some of the

superfluous 'belt and braces' code

?
The only thing I ever found superfluous in TS output was the import/export syntax when converting to commonjs modules.