JPDev@programming.dev to Programmer Humor@programming.dev · 8 months agoWhitespaceprogramming.devimagemessage-square54fedilinkarrow-up1287
arrow-up1277imageWhitespaceprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 8 months agomessage-square54fedilink
minus-squareBlackmist@feddit.uklinkfedilinkEnglisharrow-up6·8 months agoHaving assignments return a value is right up there as well.
minus-squareGissaMittJobb@lemmy.mllinkfedilinkarrow-up8·8 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.