hairinmybellybutt@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agoadvancedlemmy.worldimagemessage-square16fedilinkarrow-up1172arrow-down18
arrow-up1164arrow-down1imageadvancedlemmy.worldhairinmybellybutt@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square16fedilink
minus-squarexmunk@sh.itjust.workslinkfedilinkarrow-up1·edit-21 year agoThat specific language is PHP, but the tip is applicable in any language that supports inline assignment.
minus-squareThe Octonaut@mander.xyzlinkfedilinkarrow-up3·1 year agoif (true === $wantToCauseErrorsForFun) { badOldFunction(); }
That specific language is PHP, but the tip is applicable in any language that supports inline assignment.