JPDev@programming.dev to Programmer Humor@programming.dev · 11 months agoifn'tprogramming.devimagemessage-square125fedilinkarrow-up1752arrow-down111
arrow-up1741arrow-down1imageifn'tprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 11 months agomessage-square125fedilink
minus-squareDarkassassin07linkfedilinkEnglisharrow-up6·11 months agoif(condition) {#block never used} else {#actually do a thing} Vs ifn't(condition) {#actually do a thing} Vs if!(condition) {#actually do a thing}
minus-squaregandalf_der_12te@feddit.delinkfedilinkarrow-up2arrow-down2·11 months agovs if (not condition) {#actually do a thing}
if(condition) {#block never used} else {#actually do a thing}
Vs
ifn't(condition) {#actually do a thing}
Vs
if!(condition) {#actually do a thing}
vs
if (not condition) {#actually do a thing}