industryjustin/Ruby-learning — comment on commit 9ef56bf173ba26801f51dde4e0803b894ed1af47
File: favnum.rb line 24
By bct:

you can drop the condition here entirely, change the line to:

else

Reasons: it's more efficient (barely :P), and having more logic than you need can lead to hard-to-track-down bugs e.g. if you had a typo.