[swift-evolution] Property Behaviors and Swift 4.0 Stage 1.

Wallacy wallacyf at gmail.com
Wed Jan 18 12:55:17 CST 2017


Is Property Behaviors considered for Stage 1?

https://github.com/apple/swift-evolution/blob/master/proposals/0030-property-behavior-decls.md

Because the project roadmap says:

The high-priority features supporting Stage 1's source and ABI stability
goals are:
...
Resilience: resilience provides a way for public APIs to evolve over time,
while maintaining a stable ABI. For example, resilience eliminates the fragile
base class problem <https://en.wikipedia.org/wiki/Fragile_base_class> that
occurs in some object-oriented languages (e.g., C++) by describing the
types of API changes that can be made without breaking ABI (e.g., "a new
stored property or method can be added to a class").
...

And i think this feature will help with that. Not a complete solution for
resilience problem, but "provides a way for public APIs to evolve over time
".

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170118/d8fd57f1/attachment.html>


More information about the swift-evolution mailing list