@[email protected] to Programmer [email protected] • 6 months agoifn'tprogramming.devimagemessage-square127arrow-up1772arrow-down111
arrow-up1761arrow-down1imageifn'tprogramming.dev@[email protected] to Programmer [email protected] • 6 months agomessage-square127
minus-squareKmlSlmk64linkfedilink13•6 months agoIf someone really wanted to add it, probably the best would be to use unless
minus-square@[email protected]linkfedilinkEnglish8•6 months agoI really liked having unless in Ruby; a ! can be easy to miss, while unless made it clear without needing to write out != true.
minus-square@[email protected]linkfedilink2•6 months agoIt’s also cool when you do unless(!condition). I particularly like this.
If someone really wanted to add it, probably the best would be to use
unless
I really liked having
unless
in Ruby; a!
can be easy to miss, whileunless
made it clear without needing to write out!= true
.It’s also cool when you do unless(!condition). I particularly like this.