> On 25 Oct 2016, at 14:15, Haravikk <[email protected]> wrote:
> 
> Lastly, on it being more readable the issue isn't general readability but 
> rather discoverability. If you see "if x matches .some(let y)" or "if x is 
> let y?" then there's some immediate context for what's going on the first 
> time you see it. An =~ or ~= operator is less clear as it looks like a weird 
> assignment operator (like +=), doesn't mean the same thing as the tilde 
> operator on its own; the only clue to it being a comparison is that it's used 
> in an if condition.


Bingo!, you just formulated what I felt but could not put in words just yet.

Regards,
Rien

Site: http://balancingrock.nl
Blog: http://swiftrien.blogspot.com
Github: http://github.com/Swiftrien
Project: http://swiftfire.nl


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

Reply via email to