https://bugzilla.wikimedia.org/show_bug.cgi?id=45865

--- Comment #5 from Jeroen De Dauw <[email protected]> ---
ListDiffer does not care about order. It can behave as array_diff does, in
which case you get behaviour probably not wanted for non-sets. It's default
behaviour however holds into account that an element can occur more then once.
So that's not a problem. All I'm saying is that if you need ordering, additions
will need to be made.

> or rename ListDiffer to SetDiffer (depending how much
> backwards-compatibility is an issue)?

This rename would be incorrect. And it would break compatibility. This
extension has also been designed with the open closed principle in mind. You
ought to be able to add new functionality without significantly poking at
existing code.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to