JPDev ( JPDev@programming.dev ) to Programmer Humor@programming.dev · 3 years agoifn'tprogramming.devimagemessage-square44linkfedilinkarrow-up1414
arrow-up1414imageifn'tprogramming.devJPDev ( JPDev@programming.dev ) to Programmer Humor@programming.dev · 3 years agomessage-square44linkfedilink
minus-squarejtk ( jtk@lemmy.sdf.org ) linkfedilinkEnglisharrow-up49·3 years 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-squarePup Biru ( pupbiru@aussie.zone ) linkfedilinkarrow-up26·3 years agoi mean, “unless” tends to be the usual term for an “if not” keyword in languages that implement such a thing
minus-squareFal ( Fal@yiffit.net ) linkfedilinkEnglisharrow-up15·3 years agoWhich is awful and incredibly confusing. I hate ruby
minus-squarePup Biru ( pupbiru@aussie.zone ) linkfedilinkarrow-up3·3 years agototally agree; just saying that if it’s GOT to be something, that something should probably be unless… unless . . .
minus-squareNigelFrobisher ( NigelFrobisher@aussie.zone ) linkfedilinkarrow-up3·3 years agoAnd my axe!
minus-squarefrezik ( frezik@midwest.social ) linkfedilinkarrow-up2·3 years 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-squareOpenStars ( OpenStars@startrek.website ) linkfedilinkEnglisharrow-up12·3 years 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
totally agree; just saying that if it’s GOT to be something, that something should probably be unless… unless . . .
And Perl
And my axe!
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.