Thought provoking idea of the day: A colleague suggested that Hash#keys should return a Set, instead of an Array in Ruby 
If it were up to me we'd only have `each_key` (zero cost to construct), and you'd have to explicitly call `.to_a` on it
-
-
You're suggesting that Hash#keys returns an object that only responds to each_key?
- 4 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.