[swift-evolution] [Pitch] Introducing role keywords to reduce hard-to-find bugs
Erica Sadun
erica at ericasadun.com
Fri Jun 16 13:26:14 CDT 2017
> On Jun 16, 2017, at 12:21 PM, Tino Heth <2th at gmx.de> wrote:
>
> The described problem might be one of the most famous itches of the language, but imho the bar for new keywords* should be higher than that — and there are alternatives:
>
> First, I guess many would like to see this to be valid Swift:
>
> protocol Foo {
> func bar() {
> print("Default implementation called")
> }
> }
I think there's a lot of people who want this. I'd have to do a search through the archives but hasn't it been said that this isn't likely to happen soon?
-- E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170616/4220d5c0/attachment.html>
More information about the swift-evolution
mailing list