DEV Community

Discussion on: Is TypeScript Really... A Language??

Collapse
 
tarvk profile image
Tar • Edited

Okay so here is my main question;
Would TS have been more of a language if it defined its own syntax from scratch?
It would still compile down to JS and have all the same runtime characteristics.

In my opinion there would be no doubt about it being a separate language if it defined completely new syntax and compile to JS. And to me the fact that it took JS as a basis for the language, rather than making up its own new syntax doesn't make a difference at all. It just made it easier for developers to switch to TS, that's all. So I personally do really think TS is its own language.

Collapse
 
jwp profile image
John Peters

I agree. To me, a language is something we read, write, speak or hear. It's a dialect which, after being learned, is simple to use for communication.

I even speak Bug... oh nooo, bad news, snafu, yikes, unbelievable, stupid, inane, clueless.

In Bug there's no verbs, no prepositions, just adjectives. Everyone understands Bug.

Collapse
 
gabdlr profile image
Gabriel De Los Rios

Yesss, does the person who writes PHP knows C? NO, isn't PHP C at the end? Yess, do you write your PHP code and then use the resulting C code in your projects? Hell no.