> On Mar 30, 2017, at 8:38 AM, Ben Cohen via swift-evolution 
> <[email protected]> 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

_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to