hairinmybellybutt@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agoadvancedlemmy.worldimagemessage-square15fedilinkarrow-up1158arrow-down15
arrow-up1153arrow-down1imageadvancedlemmy.worldhairinmybellybutt@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square15fedilink
minus-squarexmunk@sh.itjust.workslinkfedilinkarrow-up0·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-up2·1 year agoif (true === $wantToCauseErrorsForFun) { badOldFunction(); }
That specific language is PHP, but the tip is applicable in any language that supports inline assignment.