ifn'tJPDev@programming.dev to Programmer Humor@programming.dev – 750 points – 6 months ago124Post a CommentPreviewYou are viewing a single commentView all commentsShow the parent commentIf someone really wanted to add it, probably the best would be to use unlessI really liked having unless in Ruby; a ! can be easy to miss, while unless made it clear without needing to write out != true.It'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 unless in Ruby; a ! can be easy to miss, while unless made it clear without needing to write out != true.It'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, while unless made it clear without needing to write out != true.It'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
unless
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.