@[email protected] to Programmer [email protected] • 2 years agoifn'tprogramming.devimagemessage-square125fedilinkarrow-up1775arrow-down111
arrow-up1764arrow-down1imageifn'tprogramming.dev@[email protected] to Programmer [email protected] • 2 years agomessage-square125fedilink
minus-squareKmlSlmk64linkfedilink14•2 years agoIf someone really wanted to add it, probably the best would be to use unless
minus-square@[email protected]linkfedilinkEnglish9•2 years 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•2 years 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
unlessI really liked having
unlessin Ruby; a!can be easy to miss, whileunlessmade it clear without needing to write out!= true.It’s also cool when you do unless(!condition). I particularly like this.