franzejr / best-ruby

Ruby Tricks, Idiomatic Ruby, Refactoring and Best Practices
http://franzejr.github.io/best-ruby/
2.39k stars 219 forks source link

Swap 'Use' and 'Rather than' examples #35

Closed gechr closed 8 years ago

gechr commented 8 years ago

Credit: https://news.ycombinator.com/item?id=10617212

franzejr commented 8 years ago

Thanks, @gechr , but someone already opened a PR to fix that (https://github.com/franzejr/best-ruby/pull/34). :+1:

gechr commented 8 years ago

Ah, right, missed that, oops!

Just so all's not lost, I think it's still worth merging the additional minor change this PR introduced to the number of iterations, i.e. 5 vs. 10 - in its current form, it's somewhat misleading since the wording implies equivalence, yet they're not equivalent.