ifn't

muntedcrocodile, (edited ) ![]()
With ahit like that its not microsoft java its now microsoft javascript
ohlaph, That’s Typescript…
AlmightySnoo, (edited ) ![]()
reminds me of
#ifndef
instead of#if !defined(…)
PanArab, (edited ) This can’t be for real. I’ll stick with C11 thank you.
stardreamer, ![]()
Here you dropped this:
<span style="font-weight:bold;color:#a71d5d;">#define </span><span style="font-weight:bold;color:#795da3;">ifnt</span><span style="color:#323232;">(x) </span><span style="font-weight:bold;color:#a71d5d;">if </span><span style="color:#323232;">(</span><span style="font-weight:bold;color:#a71d5d;">!</span><span style="color:#323232;">(x)) </span>
fl42v, (edited ) This has to be illegal. I mean, it’s basically suicide incitement (or whatever is the phrase for it)
lurch, i assume “ifnot” wasn’t edgy enough and makes inferior noises on custom mechanical keyboards? /s
vlad76, ![]()
What’s wrong with “else”
NekkoDroid, ![]()
It’s not
ifn’t
SpaceNoodle, *it’sn’t
felbane, I’dn’t’ve said it like that.
Scubus, Perchance
NocturnalMorning, ^This
OP raises a valid point
Darkassassin07, ![]()
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}
MNByChoice, 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…
lordmauve, Python already has this.
Hexbear2, (edited ) This is the !biggest comp sci innovation in !decades
Serpent7776, I can actually define this in TCL:
<span style="color:#323232;">% proc ifn't {cond cmds} {if {!$cond} {uplevel $cmds}} </span><span style="color:#323232;">% ifn't false {puts </span><span style="color:#0086b3;">12</span><span style="color:#323232;">} </span><span style="color:#323232;">12 </span><span style="color:#323232;">% ifn't true {puts </span><span style="color:#0086b3;">12</span><span style="color:#323232;">} </span><span style="color:#323232;">% </span>
luciole, ![]()
I shan’t!
max, ;-;
Add comment