Comment on ifn't
JoshuaEN@lemmy.world 9 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
.
Comment on ifn't
JoshuaEN@lemmy.world 9 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
.
HexAndSquare@lemmy.world 9 months ago
It’s also cool when you do unless(!condition). I particularly like this.