3 ms·
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
by golfadas 11y 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.