[swift-evolution] [Review] SE-0071: Allow (most) keywords in member references

Brent Royal-Gordon brent at architechies.com
Mon Apr 25 23:56:34 CDT 2016


> The review of "Allow (most) keywords in member references" begins now and runs through April 29th. The proposal is available here:
> 
> 	https://github.com/apple/swift-evolution/blob/master/proposals/0071-member-keywords.md

The whole rigamarole would be overkill, so: Absolutely. I see no good reason not to.

(As a future direction, we should try to see if we can't open plain variable and function references to using more keywords. For instance, I see no particular reason you couldn't write `default()` even without a dot in front of it; AFAIK the only place it can be used is inside a `switch` statement, and there only with a colon after it, which wouldn't otherwise be valid.)

-- 
Brent Royal-Gordon
Architechies



More information about the swift-evolution mailing list