Tag

Macro

0 views collected around this technical thread.

Bilibili Tech
Bilibili Tech
Oct 22, 2024 · Mobile Development

Understanding Swift Macros in Swift 5.9 and Their Applications

Swift 5.9’s new macro system lets developers generate type‑safe code at compile time via external plug‑ins, using role‑based declarations such as @attached and @freestanding to create properties, extensions, or warnings, thereby reducing repetitive boiler‑plate and improving safety in large‑scale architectures like MVVP modules and exposure frameworks.

Compiler PluginMacroSwift
0 likes · 20 min read
Understanding Swift Macros in Swift 5.9 and Their Applications
Architecture Digest
Architecture Digest
Oct 31, 2016 · Fundamentals

One Week with Elixir – Language Design Reflections

Over the course of a week, the author explores Elixir’s design and features—covering its pipe operator, sigils, macro quoting, version handling, and differences from Erlang—while reflecting on language ergonomics, code readability, and functional programming concepts illustrated with concrete code examples.

ElixirErlangFunctional Programming
0 likes · 21 min read
One Week with Elixir – Language Design Reflections