on Thu Mar 24 2016, Ricardo Parada <[email protected]> wrote:

> Hi all,
>
> I could get used to the formNoun naming convention for the mutable versions 
> of the methods. 
>
> I would suggest the following changes:
>
> Remove the parameter label from symmetricDifference() and 
> formSymmetricDifference() to be consistent with the other methods. 
>
> Consider renaming:
> subtracting / subtract 
>
> to: 
> difference / formDifference
>
> in order to keep the API consistent. 

The problem with “difference” is that it's not symmetrical; you really
need to do something to clarify which is the minuend and which is the
subtrahend (yes, I had to look those terms up to write this post!)

subtract and subtracting make that clear.

-- 
Dave

_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to