[swift-evolution] Proposal: conversion protocol naming conventions

Brent Royal-Gordon brent at architechies.com
Tue Dec 15 23:25:34 CST 2015

> I am not convinced that distinct conventions for the initializer case and the factory method case are worthwhile.  They are two mechanisms for taking an instance of one type and getting back an instance of another type.  In a significant sense the use of an initializer or a factory method is an "implementation detail" of the protocol.	

I agree. (The comment suggesting “Creatable” was meant to suggest that “Creatable” might be a better term than “Initializable” because it’s more inclusive, not to suggest that we should use both “Initializable” and “Creatable” in different cases.)

Brent Royal-Gordon

More information about the swift-evolution mailing list