SuperFola@programming.dev to Programming Languages@programming.devEnglish · 7 months agoType inference was a mistakeborretti.meexternal-linkmessage-square44fedilinkarrow-up168arrow-down111
arrow-up157arrow-down1external-linkType inference was a mistakeborretti.meSuperFola@programming.dev to Programming Languages@programming.devEnglish · 7 months agomessage-square44fedilink
minus-squarechellomere@lemmy.worldlinkfedilinkarrow-up2arrow-down6·7 months agoWhy not just use auto (assuming C++) or var (assuming C#/Java)?
minus-squareJakenVeina@lemm.eelinkfedilinkEnglisharrow-up38·edit-27 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.