This arises a different question: Should `description` always return the same 
value? For example: Can `description` of “May 31th, 2016” return “Today” if we 
evaluate it today and return “Yesterday” if we evaluate it tomorrow? Are such 
side-effects (using a volatile global value) permitted? Then how about 
localization? Can description be locale-aware without breaking the protocol? 

> On May 31, 2016, at 3:43 PM, Austin Zheng via swift-evolution 
> <[email protected]> wrote:
> 
> My original v2 proposal draft suggested making value preserving and human 
> readable descriptions orthogonal, but Chris and a few other people suggested 
> they liked the originally suggested design better. I have a link in the 
> "Alternatives" section to that original draft.
> 
> Austin
> 
> On Tue, May 31, 2016 at 3:22 PM, Dave Abrahams via swift-evolution 
> <[email protected] <mailto:[email protected]>> wrote:
> 
> on Tue May 31 2016, Thorsten Seitz <[email protected] 
> <mailto:[email protected]>> wrote:
> 
> > I agree with Vladimir. Having a value preserving representation is
> > orthogonal to a human readable representation.
> 
> I too think he's making a good point.  I could be missing something, but
> it seems to me we don't fully understand this design yet.
> 
> --
> Dave
> 
> _______________________________________________
> swift-evolution mailing list
> [email protected] <mailto:[email protected]>
> https://lists.swift.org/mailman/listinfo/swift-evolution 
> <https://lists.swift.org/mailman/listinfo/swift-evolution>
> 
> _______________________________________________
> swift-evolution mailing list
> [email protected]
> https://lists.swift.org/mailman/listinfo/swift-evolution

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

Reply via email to