Rubyists: if blah.nil? is bad. Also if !blah should be unless blah.
This is like fingernails on a chalkboard to me.
#GetOffMyLawn
-
-
it isn't idiomatic. Both those cases have unnecessary method calls which reduces readability and maybe performance.
-
what’s the most readable way to find out something is nil?
- 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.