@[email protected] to Programmer [email protected] • 11 months agoifn'tprogramming.devimagemessage-square116fedilinkarrow-up1730arrow-down111
arrow-up1719arrow-down1imageifn'tprogramming.dev@[email protected] to Programmer [email protected] • 11 months agomessage-square116fedilink
minus-square@JoshuaENlinkEnglish8•11 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@HexAndSquarelink2•11 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.