Переглядів 5,057
Swift 5.9 is out, and it ships two big things-macros and explicit lifetime management-and many small improvements. In this video, I’m highlighting my favorites.
In general, this release of Swift is among the most significant ones-probably the biggest since Swift 4 in 2017. But none of the changes will disrupt your routine, so it’s easy to not even notice them.
Here’s my overview of the next version, Swift 5.10: • What’s New in Swift 5....
You can support me by…
• …buying me a coffee: www.buymeacoffee.com/SwiftBird
• …becoming a patron: / swiftbird
Links:
• Swift changelog: github.com/apple/swift/blob/m...
• Vision behind macros: github.com/apple/swift-evolut...
• Macros: github.com/apple/swift-evolut...
• Attached macros: github.com/apple/swift-evolut...
• Freestanding macros: github.com/apple/swift-evolut...
• if and switch expressions: github.com/apple/swift-evolut...
• consume operator: github.com/apple/swift-evolut...
• borrowing and consuming parameter modifiers: github.com/apple/swift-evolut...
Chapters:
• 0:00 Intro
• 0:37 Swift Macros
• 2:39 if and switch Expressions / Implicit Returns
• 3:48 Explicit Lifetime Management
• 5:25 Final Thoughts
• 5:53 Outro
The Swift Bird is produced by / yakovmanshin .
#Swift #softwareengineering #softwaredevelopment