MHN
Add a comment on Hacker News →
1 of 311 comments
  1. I find `if not` to be a far superior version, simply because it reads similarly to it's `if` counterpart, specifically for how conventionally condition methods are written in ruby.

    `return if not valid?`
    or
    `return if invalid?`

    Both make sense in my brain, whereas

    `return unless valid?`

    Feels like I need to make another connection to understand it