JPDev@programming.dev to Programmer Humor@programming.dev · 11 months agoWhitespaceprogramming.devimagemessage-square59fedilinkarrow-up1305arrow-down110
arrow-up1295arrow-down1imageWhitespaceprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 11 months agomessage-square59fedilink
minus-squareBlackmistlinkfedilinkEnglisharrow-up6·11 months agoHaving assignments return a value is right up there as well.
minus-squareGissaMittJobb@lemmy.mllinkfedilinkarrow-up8·11 months agoBecause of the possibility of accidentally performing an assignment in a conditional expression? If yes, I agree that it’s not great.
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.