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>
janabuggs,

I’m struggling to understand if this is true or ifn’t true

csm10495,
@csm10495@sh.itjust.works avatar

Imagine the regex needed to highlight code with that extra single quote.

Hexbear2, (edited )

This is the !biggest comp sci innovation in !decades

lordmauve,

Python already has this.

luciole,
@luciole@beehaw.org avatar

I shan’t!

max,

;-;

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

OpenStars,
@OpenStars@startrek.website avatar

Please God let this be a humorous post that somehow does not also find a way to manage to come true…

AlmightySnoo, (edited )
@AlmightySnoo@lemmy.world avatar

reminds me of #ifndef instead of #if !defined(…)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • programmer_humor@programming.dev
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #