cm0002@lemmy.world to Programmer Humor@programming.dev · 6 days agoJavaScriptlemmy.mlimagemessage-square44linkfedilinkarrow-up127arrow-down10cross-posted to: programmerhumor@lemmy.ml
arrow-up127arrow-down1imageJavaScriptlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 6 days agomessage-square44linkfedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareFooBarrington@lemmy.worldlinkfedilinkarrow-up0·5 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·5 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.