Thought provoking idea of the day: A colleague suggested that Hash#keys should return a Set, instead of an Array in Ruby 
Not sure what the benefit would be though since the values are already guaranteed to be unique.
-
-
Yeah, I agree. I'm guessing that it's just the reinforcement of uniqueness?
-
The idea was that you most commonly want to do set-like operations on the list of keys.
- 6 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.