ifn'tprogramming.devimage JPDev ( @JPDev@programming.dev ) Programmer Humor@programming.dev • 6 months ago message-square45fedilinkarrow-up1413
arrow-up1413imageifn'tprogramming.dev JPDev ( @JPDev@programming.dev ) Programmer Humor@programming.dev • 6 months ago message-square45fedilink
minus-square jtk ( @jtk@lemmy.sdf.org ) linkfedilinkEnglish49•edit-26 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 keywords with a ’ in the name.
minus-square Pup Biru ( @pupbiru@aussie.zone ) linkfedilink26•6 months agoi mean, “unless” tends to be the usual term for an “if not” keyword in languages that implement such a thing
minus-square Fal ( @Fal@yiffit.net ) linkfedilinkEnglish15•6 months agoWhich is awful and incredibly confusing. I hate ruby
minus-square Pup Biru ( @pupbiru@aussie.zone ) linkfedilink3•6 months agototally agree; just saying that if it’s GOT to be something, that something should probably be unless… unless . . .
minus-square frezik ( @frezik@midwest.social ) linkfedilink2•6 months agoI 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.
minus-square OpenStars ( @OpenStars@startrek.website ) linkfedilinkEnglish12•6 months agoYeah, to be clear, I don’t like it, I don’t like it one bit:-P.
I 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 keywords with a ’ in the name.
i mean, “unless” tends to be the usual term for an “if not” keyword in languages that implement such a thing
Which is awful and incredibly confusing. I hate ruby
And Perl
And my axe!
totally agree; just saying that if it’s GOT to be something, that something should probably be unless… unless . . .
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.
Yeah, to be clear, I don’t like it, I don’t like it one bit:-P.