JPDev@programming.dev to Programmer Humor@programming.dev · 2 years agoifn'tprogramming.devimagemessage-square120linkfedilinkarrow-up1731arrow-down19
arrow-up1722arrow-down1imageifn'tprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 2 years agomessage-square120linkfedilink
minus-squarePup Biru@aussie.zonelinkfedilinkarrow-up41·2 years 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-up21arrow-down4·2 years agoWhich is awful and incredibly confusing. I hate ruby
minus-squarePup Biru@aussie.zonelinkfedilinkarrow-up2·2 years agototally agree; just saying that if it’s GOT to be something, that something should probably be unless… unless . . .
minus-squarefrezik@midwest.sociallinkfedilinkarrow-up1·2 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.
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.