JPDev@programming.dev to Programmer Humor@programming.dev · 10 months agoifn'tprogramming.devimagemessage-square68fedilinkarrow-up1143arrow-down13
arrow-up1140arrow-down1imageifn'tprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 10 months agomessage-square68fedilink
minus-squarejtk@lemmy.sdf.orglinkfedilinkEnglisharrow-up13·edit-210 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-squarePup Biru@aussie.zonelinkfedilinkarrow-up7·10 months agoi mean, “unless” tends to be the usual term for an “if not” keyword in languages that implement such a thing
minus-squareFal@yiffit.netlinkfedilinkEnglisharrow-up6arrow-down2·10 months agoWhich is awful and incredibly confusing. I hate ruby
minus-squarefrezik@midwest.sociallinkfedilinkarrow-up1·10 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-squarePup Biru@aussie.zonelinkfedilinkarrow-up1·10 months agototally agree; just saying that if it’s GOT to be something, that something should probably be unless… unless . . .
minus-squareOpenStars@startrek.websitelinkfedilinkEnglisharrow-up3arrow-down1·10 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
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.
And Perl
And my axe!
totally agree; just saying that if it’s GOT to be something, that something should probably be unless… unless . . .
Yeah, to be clear, I don’t like it, I don’t like it one bit:-P.