hairinmybellybutt@lemmy.world to Programmer Humor@lemmy.mlEnglish · 10 months agoadvancedlemmy.worldimagemessage-square31fedilinkarrow-up1416arrow-down114
arrow-up1402arrow-down1imageadvancedlemmy.worldhairinmybellybutt@lemmy.world to Programmer Humor@lemmy.mlEnglish · 10 months agomessage-square31fedilink
minus-squarexmunk@sh.itjust.workslinkfedilinkarrow-up3·edit-210 months agoThat specific language is PHP, but the tip is applicable in any language that supports inline assignment.
minus-squareThe Octonaut@mander.xyzlinkfedilinkarrow-up6·10 months agoif (true === $wantToCauseErrorsForFun) { badOldFunction(); }
That specific language is PHP, but the tip is applicable in any language that supports inline assignment.