@[email protected] to Programmer [email protected]English • 10 months agoadvancedlemmy.worldimagemessage-square32fedilinkarrow-up1429arrow-down115
arrow-up1414arrow-down1imageadvancedlemmy.world@[email protected] to Programmer [email protected]English • 10 months agomessage-square32fedilink
minus-square@[email protected]linkfedilink3•edit-210 months agoThat specific language is PHP, but the tip is applicable in any language that supports inline assignment.
minus-squareThe Octonautlinkfedilink6•10 months agoif (true === $wantToCauseErrorsForFun) { badOldFunction(); }
That specific language is PHP, but the tip is applicable in any language that supports inline assignment.