[swift-evolution] [SE-0011] Re-considering the replacement keyword for "typealias"
Kyle Carson
kyleacarson at gmail.com
Wed Dec 23 16:12:00 CST 2015
All of the options I've seen suffer from a common problem: The order of parameters isn't obvious. If we use an additional keyword we can have a more readable syntax.
Example using "associate" and "with":
associate *NewType* with *ExistingType*
Positives:
- Extremely clear, readable
- Relatively short syntax
Possible Negatives:
- May not be easy to Google
- Do multiple keywords fits Swift's general style?
More information about the swift-evolution
mailing list