Hacker News new | ask | show | jobs
by golfadas 3781 days ago
Totally agree with you. I do think it is more natural to ask a collection if it has an element. On the other hand, it would be possible for Object to have an in? method that would receive a collection.