ifn'tJPDev@programming.dev to Programmer Humor@programming.dev – 750 points – 5 months ago124Post a CommentPreviewYou are viewing a single commentView all commentsWhat's wrong with "else"It's not ifn't*it'sn'tI'dn't've said it like that.Perchance^This OP raises a valid pointif(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}Cannot start a statement with else. One can with ifn't. There is a new thing where we don't branch (which is a separate discussion). Or am I missing the joke...
What's wrong with "else"It's not ifn't*it'sn'tI'dn't've said it like that.Perchance^This OP raises a valid pointif(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}Cannot start a statement with else. One can with ifn't. There is a new thing where we don't branch (which is a separate discussion). Or am I missing the joke...
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}
Cannot start a statement with else. One can with ifn't. There is a new thing where we don't branch (which is a separate discussion). Or am I missing the joke...
What's wrong with "else"
It's not
ifn't
*it'sn't
I'dn't've said it like that.
Perchance
^This
OP raises a valid point
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}
Cannot start a statement with else. One can with ifn't. There is a new thing where we don't branch (which is a separate discussion).
Or am I missing the joke...