HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-22 months agoWhy make it complicated?lemmy.mlimagemessage-square119linkfedilinkarrow-up1354arrow-down137file-textcross-posted to: programmerhumor@lemmy.ml
arrow-up1317arrow-down1imageWhy make it complicated?lemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-22 months agomessage-square119linkfedilinkfile-textcross-posted to: programmerhumor@lemmy.ml
minus-squareZILtoid1991@lemmy.worldlinkfedilinkarrow-up3·2 months ago Good, now invent a keyword for variables you don’t want to declare the type. auto. Also in D, you only need const if you don’t want to specify a type for a constant, the compiler automatically inferres it to you. Function declarations can be easily decyphered from context, no problem.
minus-squareulterno@programming.devlinkfedilinkEnglisharrow-up2·2 months agoMaybe that’s what the people developing spoken languages thought, while normalising conversations overdependent on context. But hey, now we have another comedic tool in anime.
auto
. Also in D, you only needconst
if you don’t want to specify a type for a constant, the compiler automatically inferres it to you.Function declarations can be easily decyphered from context, no problem.
Maybe that’s what the people developing spoken languages thought, while normalising conversations overdependent on context.
But hey, now we have another comedic tool in anime.