[swift-evolution] Proposal: conversion protocol naming conventions

Erica Sadun erica at ericasadun.com
Tue Dec 15 16:32:48 CST 2015


> On Dec 15, 2015, at 11:15 AM, Matthew Johnson <matthew at anandabits.com> wrote:
>> And now that I think about it, CustomStringRepresentable is probably a lot better than CustomStringRepresentationExpressible
> 
> Representable is what I would have used if I wasn't trying to make a minimal change or if RawRepresentable didn't already use it for bidirectional conversion, so I agree that it is better than both Expressible and Projectable.
> 
> Matthew
> 
> 

Let's run with the idea that everything is up for grabs and that better names will better serve the developer community in the long run. In such a case, if the core naming patterns were established as Convertible for bidirectional conversion, would RawConvertible be such a bad thing?

-- Erica

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


More information about the swift-evolution mailing list