HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-21 month agoWhy make it complicated?lemmy.mlimagemessage-square123linkfedilinkarrow-up1370arrow-down138file-textcross-posted to: programmerhumor@lemmy.ml
arrow-up1332arrow-down1imageWhy make it complicated?lemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-21 month agomessage-square123linkfedilinkfile-textcross-posted to: programmerhumor@lemmy.ml
minus-squareZILtoid1991@lemmy.worldlinkfedilinkarrow-up4·1 month 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·1 month 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.