JPDev@programming.dev to Programmer Humor@programming.dev · 10 months agoifn'tprogramming.devimagemessage-square127fedilinkarrow-up1774arrow-down111
arrow-up1763arrow-down1imageifn'tprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 10 months agomessage-square127fedilink
minus-squareDarkassassin07@lemmy.calinkfedilinkEnglisharrow-up6·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}