I think “take" is a fine word to indicate that you are taking a value from a 
HashSet, just like “add" indicates you are adding to the set and remove 
indicates you are “removing" from the set.  It’s true that in all these cases 
the caller is doing the thing, not the object, but it makes sense in my mind.  
An alternative would be to change set.add(value) to a static function 
HashSet::add(set, value), set.remove(value) to HashSet::remove(set, value), and 
set.take(value) to HashSet::take(set, value), etc.
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to