@JPDev@programming.dev to Programmer Humor@programming.dev • 10 months agoifn'tprogramming.devimagemessage-square125fedilinkarrow-up1753arrow-down111
arrow-up1742arrow-down1imageifn'tprogramming.dev@JPDev@programming.dev to Programmer Humor@programming.dev • 10 months agomessage-square125fedilink
minus-square@JoshuaEN@lemmy.worldlinkfedilinkEnglish9•10 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@HexAndSquare@lemmy.worldlinkfedilink2•10 months agoIt’s also cool when you do unless(!condition). I particularly like this.
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.