DEV Community

Discussion on: TypeScript and C# both were created by the same person named Anders Hejlsberg 👏 💪 🔥(with video)

Collapse
 
jwp profile image
John Peters

Typescript is so far ahead of Javascript it's not funny.

Collapse
 
jonjonsiler profile image
Jonathan Siler

Totally not the case since TypeScript is really just a type system for JavaScript (see superset) and provides syntactical sugar for getting at the true nature of ECMAScript's prototypal object oriented programming paradigm for the uninitiated.

Collapse
 
destro_mas profile image
Shahjada Talukdar

If I understood your comment correctly, it seems like that's true for FlowType.

TS is not a syntactical sugar, it's a standalone Language.

Thread Thread
 
euler2718 profile image
John Corley • Edited

What do you mean? It still transpiles to js for the browser, no? I know it has the tsnode tools, but I'm not really sure what that's doing.

Thread Thread
 
destro_mas profile image
Shahjada Talukdar

Yes, it can transpile to JS.

For more info, please have a look here

reactjs.org/docs/static-type-check...
typescriptlang.org/

Thread Thread
 
euler2718 profile image
John Corley

The question wasn't if it can, it was if it always does. I know it has its own compiler, tsc.....but can u run typescript without ever having any js under the hood?

Collapse
 
jwp profile image
John Peters • Edited

Your argument is the same as assembly language people (35 years ago) said about compiled languages never being able to beat the power of assembly.

Typescript is 2 years ahead of ECMAScript standards and will always have more features. It truely is a superset of Javascript.

Thread Thread
 
jonjonsiler profile image
Jonathan Siler

"my tone control is way better than my stereo"

Thread Thread
 
jwp profile image
John Peters

Line 6 has preamped effect units for guitar amps. What they accomplish is miraculous.

Typescript is a preamp effect unit.