
29 Jun
2010
29 Jun
'10
6:52 a.m.
On Tuesday 29 June 2010 12:46:21, Ivan Lazar Miljenovic wrote:
At most one element, yes; I question why that design decision was made as I'm more likely to want to delete all values rather than just the first one
That's more common, yes (I don't remember ever having used delete(By) intentionally). But we've filter for that, so it wouldn't make sense to give delete(By) the same semantics. Hence, if you provide both names, what else could deleteBy do?
(does anyone actually like/rely on the current functionality of delete/deleteBy w.r.t. repeated values?).
I doubt it.