Thread on Swift Forums now started to discuss future of Swift macros.

Macros could solve code generation issues such as Codable or Equatable implementation without any compiler magic. Proposal includes type-safe approach for different kinds of macros.

Since discussion is just started, it is a good time to keep an eye on directions and provide meaningful feedback.

Swift Forums: A Possible Vision for Macros in Swift

GitHub: A Possible Vision for Macros in Swift

Recommendations

Developer:

Check the macros vision, keep an eye on the forum thread.

QA engineer:

Business as usual.

PM/DM:

Business as usual.

Leave a comment

Leave a Reply