type
status
date
slug
summary
tags
category
icon
password
Swift project update
The core team of Swift announced the formation of the Language Steering Group, which took on primary responsibility for oversight of the Swift language and standard library evolution.
Vision documents come together individual language proposals as part of a wider theme
The first one to be accepted by the language steering group was a vision of Swift macros, a new feature in Swift 5.
9
The core team is creating an ecosystem steering group parallel to the language steering group.
Expressive code
1.Using if/else and switch statements as expressions

2.Result builders

3.type parameter packs

Session:Generalize APIs using parameter packs
4.Swift macros

More powerful, more complex
They are type-safe rather than simple string replacements
Macros are broken down into multiple smaller types, such as
AccessorMacro
to add getters and setters, and ConformanceMacro
to make a type conform to a protocol.
