<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I agree with Brent that offering description on Arrays where it "<i class="">shouldn't be presented to the user in raw form, ever, so the use case here is debugging” </i>is misleading. Is there any specific reason for them to offer it? Also, there is a slightly difference in representation of <font face="Menlo" class="">description </font>and<font face="Menlo" class=""> debugDescription </font>for ContiguousArray and ArraySlice. If the motivation behind it is unclear it might be worth to remove either the difference in implementation or the conformance to CustomStringConvertible altogether.<div class=""><br class=""></div><div class="">-Wojtek</div><div class=""><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">Wiadomość napisana przez Dave Abrahams via swift-dev <<a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a>> w dniu 12.12.2015, o godz. 21:41:</div><br class="Apple-interchange-newline"><div class=""><div class=""><br class=""><br class="">Sent from my moss-covered three-handled family gradunza<br class=""><br class=""><blockquote type="cite" class="">On Dec 12, 2015, at 9:09 AM, Brent Royal-Gordon via swift-dev <<a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a>> wrote:<br class=""><br class="">It would similarly be nice if String.init(_: Any) were instead String.init(_: CustomStringConvertible), and passing something to it that wasn’t convertible was an error.<br class=""></blockquote><br class="">Why would that be nice? It is an explicit goal that every type can be represented as a string, whatever its conformance a, FWIW<br class="">_______________________________________________<br class="">swift-dev mailing list<br class=""><a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-dev<br class=""></div></div></blockquote></div><br class=""></div></div></body></html>