cm0002@lemmy.world to Programmer Humor@programming.dev · 7 days agoJavaScriptlemmy.mlimagemessage-square44linkfedilinkarrow-up129arrow-down10cross-posted to: programmerhumor@lemmy.ml
arrow-up129arrow-down1imageJavaScriptlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 7 days agomessage-square44linkfedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareFooBarrington@lemmy.worldlinkfedilinkarrow-up0·6 days agoNot really, considering Typescript only adds static types to JS. It’s not a different language, it’s an extension.
minus-squareQuibblekrust@thelemmy.clublinkfedilinkEnglisharrow-up2·6 days agoSince it needs to be compiled to JavaScript in order to be used, I kind of consider it a different language. Yes, it’s a strict superset of JavaScript, but that makes it different.
Not really, considering Typescript only adds static types to JS. It’s not a different language, it’s an extension.
Since it needs to be compiled to JavaScript in order to be used, I kind of consider it a different language. Yes, it’s a strict superset of JavaScript, but that makes it different.