HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-21 day agoWhy make it complicated?lemmy.mlimagemessage-square96fedilinkarrow-up1309arrow-down126file-textcross-posted to: programmerhumor@lemmy.ml
arrow-up1283arrow-down1imageWhy make it complicated?lemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-21 day agomessage-square96fedilinkfile-textcross-posted to: programmerhumor@lemmy.ml
minus-squareZILtoid1991@lemmy.worldlinkfedilinkarrow-up3·13 hours 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.
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.