JPDev to Programmer Humor · 11 months agoifn'timagemessage-square127fedilinkarrow-up1774arrow-down111
minus-squarejtk@lemmy.sdf.orglinkfedilinkEnglisharrow-up89·edit-211 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-up45·11 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-up24arrow-down4·11 months agoWhich is awful and incredibly confusing. I hate ruby
minus-squarePup Biru@aussie.zonelinkfedilinkarrow-up3·11 months agototally agree; just saying that if it’s GOT to be something, that something should probably be unless… unless . . .
minus-squarefrezik@midwest.sociallinkfedilinkarrow-up2·11 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-squareOpenStars@startrek.websitelinkfedilinkEnglisharrow-up16arrow-down2·11 months agoYeah, to be clear, I don’t like it, I don’t like it one bit:-P.
minus-squareOpenStars@startrek.websitelinkfedilinkEnglisharrow-up2arrow-down1·11 months ago*ifn’t* Oh dear Lord what have I done!? :-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.
If not anybody have time for that.
*ifn’t*
Oh dear Lord what have I done!? :-P