You are viewing a single thread.
View all comments View context
14 points

If someone really wanted to add it, probably the best would be to use unless

permalink
report
parent
reply
9 points

I really liked having unless in Ruby; a ! can be easy to miss, while unless made it clear without needing to write out != true.

permalink
report
parent
reply
2 points

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

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 3.3K

    Monthly active users

  • 1K

    Posts

  • 38K

    Comments