ifn't

JPDev@programming.dev to Programmer Humor@programming.dev – 750 points –
124

You are viewing a single comment

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, while unless made it clear without needing to write out != true.

It's also cool when you do unless(!condition). I particularly like this.