[swift-evolution] [Review] SE-0023 API Design Guidelines

Matt Whiteside mwhiteside.dev at gmail.com
Tue Feb 2 02:24:17 CST 2016


> On Jan 23, 2016, at 13:23, Dave Abrahams via swift-evolution <swift-evolution at swift.org> wrote:
> 
> 
> on Sat Jan 23 2016, Thorsten Seitz <swift-evolution at swift.org <mailto:swift-evolution at swift.org>> wrote:
> 
>> I never liked the convention of distinguishing between interfaces and
>> classes by prepending an „I“ for interfaces in other languages and I’m
>> not overly fond fond of the suffix „Type“ currently used in Swift
>> protocols.
>> This is the same as prefixing (or suffixing) variable names with
>> something to express their type, e.g. `String sName` or `int iLength`.
>> That’s what we have type information for.

I agree.  I think these things should be handled by the tools/IDE, not by naming conventions.

Matt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160202/0f8e3297/attachment.html>


More information about the swift-evolution mailing list