[swift-evolution] [Pitch] String revision proposal #1

Brent Royal-Gordon brent at architechies.com
Thu Mar 30 13:20:44 CDT 2017

> On Mar 30, 2017, at 8:38 AM, Ben Cohen via swift-evolution <swift-evolution at swift.org> wrote:
> It should definitely be Substring. My rule of thumb: if you might hyphenate it, you can capitalize it.

I was going to make the same argument, but you beat me to it. 

"String" and "Substring" are both terms of art. (That's why there's no adjective form of "string", which makes naming the protocol difficult.) And they're probably the most widely-used terms of art in programming. "Substring" is inconsistent with other parts of the language, but for a good reason. 

Keep it. 

Brent Royal-Gordon
Sent from my iPhone

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170330/9854efae/attachment.html>

More information about the swift-evolution mailing list