JPDev@programming.dev to Programmer Humor@programming.dev · 10 months agoifn'tprogramming.devimagemessage-square128fedilinkarrow-up1772arrow-down111
arrow-up1761arrow-down1imageifn'tprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 10 months agomessage-square128fedilink
minus-squarePup Biru@aussie.zonelinkfedilinkarrow-up45·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-up24arrow-down3·10 months agoWhich is awful and incredibly confusing. I hate ruby
minus-squarePup Biru@aussie.zonelinkfedilinkarrow-up3·10 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·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.
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
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.