JPDev@programming.dev to Programmer Humor@programming.dev · 9 months agoWhitespaceprogramming.devimagemessage-square58fedilinkarrow-up1303arrow-down110
arrow-up1293arrow-down1imageWhitespaceprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 9 months agomessage-square58fedilink
minus-squareGissaMittJobb@lemmy.mllinkfedilinkarrow-up69arrow-down2·9 months agoHaving an asterisk both be the type indicator and the dereference operator is one of the great programming language design blunders of our time, along with allowing nulls for any type in so many languages.
minus-squareBlackmist@feddit.uklinkfedilinkEnglisharrow-up6·9 months agoHaving assignments return a value is right up there as well.
minus-squareGissaMittJobb@lemmy.mllinkfedilinkarrow-up8·9 months agoBecause of the possibility of accidentally performing an assignment in a conditional expression? If yes, I agree that it’s not great.
Having an asterisk both be the type indicator and the dereference operator is one of the great programming language design blunders of our time, along with allowing nulls for any type in so many languages.
Having assignments return a value is right up there as well.
Because of the possibility of accidentally performing an assignment in a conditional expression?
If yes, I agree that it’s not great.
Yeah, exactly that.