JPDev@programming.dev to Programmer Humor@programming.dev · 10 months agoifn'tprogramming.devimagemessage-square120fedilinkarrow-up1755arrow-down111
arrow-up1744arrow-down1imageifn'tprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 10 months agomessage-square120fedilink
minus-squareDarkassassin07@lemmy.calinkfedilinkEnglisharrow-up5·10 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·10 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}