HiddenLayer555@lemmy.mlcake to Programmer Humor@programming.devEnglish · edit-23 months agoWhy make it complicated?lemmy.mlimagemessage-square22linkfedilinkarrow-up1152arrow-down111file-textcross-posted to: programmerhumor@lemmy.ml
arrow-up1141arrow-down1imageWhy make it complicated?lemmy.mlHiddenLayer555@lemmy.mlcake to Programmer Humor@programming.devEnglish · edit-23 months agomessage-square22linkfedilinkfile-textcross-posted to: programmerhumor@lemmy.ml
minus-squareJakenVeina@midwest.sociallinkfedilinkarrow-up6·edit-23 months agoNot to short-circuit the joke, but in this case, it’s because the valid JavaScript version is… let a …and one of TypeScript’s main design goals is to be a superset of JavaScript, that only adds syntax, and doesn’t re-write it. Beyond that, it’s probably a case of some new language just using what the designer is familiar with.
Not to short-circuit the joke, but in this case, it’s because the valid JavaScript version is…
…and one of TypeScript’s main design goals is to be a superset of JavaScript, that only adds syntax, and doesn’t re-write it.
Beyond that, it’s probably a case of some new language just using what the designer is familiar with.