[swift-evolution] [pitch] Comparison Reform

Gwendal Roué gwendal.roue at gmail.com
Tue Apr 18 03:53:46 CDT 2017


>> then you're expecting the abstract guarantees of interchangeability and total ordering that implies
> 
> 
> Joe, please: I'm very glad that you are expert in so many subject - I'd love to have your job - but please keep track of average joes that have to scratch their heads whenever they have to deal with nans and infinites and subnormals and all those weird floating beasts. They already scratch their heads with the idiosyncrasies of Swift protocols.
> 
> Please keep equality simple.

I should have been more clear, my apologies. When you write:

> I also doubt that this will cause problems in practice.

It's normal to wonder if this is true. Bugs created by equality inconsistencies would be so hard to debug! So few people will even consider the eventually of different equalities.

You're almost on the verge on saying "this is not a bug, this is a feature". But I'm suspicious of features that are that much unexpected. Many unique Swift features were abundantly commented and evangelized, and made their way in the Swift culture. Do you think this could happen for your suggestion?

Gwendal

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170418/adca514c/attachment.html>


More information about the swift-evolution mailing list