Comment on ifn't
KmlSlmk64@lemmy.world 11 months agoIf someone really wanted to add it, probably the best would be to use unless
Comment on ifn't
KmlSlmk64@lemmy.world 11 months agoIf someone really wanted to add it, probably the best would be to use unless
JoshuaEN@lemmy.world 11 months ago
I really liked having
unless
in Ruby; a!
can be easy to miss, whileunless
made it clear without needing to write out!= true
.HexAndSquare@lemmy.world 11 months ago
It’s also cool when you do unless(!condition). I particularly like this.