[swift-evolution] [Review #2] SE-0089: Renaming String.init<T>(_: T)

Patrick Smith pgwsmith at gmail.com
Sun Jun 5 00:16:06 CDT 2016


The issue I think is that it would open up serialisation for all sorts of formats, which is a much larger problem in itself, whereas this can just focus on a user-defined ‘lossless’ string.

Patrick

> On 5 Jun 2016, at 1:25 PM, David Sweeris via swift-evolution <swift-evolution at swift.org> wrote:
> 
> 
>> On Jun 4, 2016, at 15:46, Jacob Bandes-Storch via swift-evolution <swift-evolution at swift.org> wrote:
>> 
>>  - The "lossless" protocol will be a welcome addition for serialization/deserialization code, and it makes the replacement init(_:) API very clear in its behavior.
> 
> Speaking of which, would "Serializable" be a better name for the protocol? I don't recall whether anyone's already asked.
> 
> - Dave Sweeris
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution



More information about the swift-evolution mailing list