SuperFola@programming.dev to Programming Languages@programming.devEnglish · 6 months agoType inference was a mistakeborretti.meexternal-linkmessage-square14fedilinkarrow-up12arrow-down10
arrow-up12arrow-down1external-linkType inference was a mistakeborretti.meSuperFola@programming.dev to Programming Languages@programming.devEnglish · 6 months agomessage-square14fedilink
minus-squarechellomere@lemmy.worldlinkfedilinkarrow-up0·6 months agoWhy not just use auto (assuming C++) or var (assuming C#/Java)?
minus-squareJakenVeina@lemm.eelinkfedilinkEnglisharrow-up2·edit-26 months agoBecause that’s type inference. The exact thing the article is arguing against. And that this comment is saying is nice.
Why not just use auto (assuming C++) or var (assuming C#/Java)?
Because that’s type inference. The exact thing the article is arguing against. And that this comment is saying is nice.