Comment on ifn't
jtk@lemmy.sdf.org 10 months agoI would have bought it if they said ifnot instead, it’s the same number of characters and wouldn’t require a major parser overhaul to support.
OpenStars@startrek.website 10 months ago
jaybone@lemmy.world 10 months ago
If not anybody have time for that.
OpenStars@startrek.website 10 months ago
*ifn’t*
Oh dear Lord what have I done!? :-P
pupbiru@aussie.zone 10 months ago
i mean, “unless” tends to be the usual term for an “if not” keyword in languages that implement such a thing
Fal@yiffit.net 10 months ago
Which is awful and incredibly confusing. I hate ruby
pupbiru@aussie.zone 10 months ago
totally agree; just saying that if it’s GOT to be something, that something should probably be unless… unless . . .
msage@programming.dev 10 months ago
And Perl
frezik@midwest.social 10 months ago
I find that you need to choose carefully when to use it. Simple cases tend to be alright. Larger, more complex conditions shouldn’t touch it.