Swift for C++ Practitioners
I’ve started a blog series aimed at C++ programmers who are interested in learning #SwiftLang. It teaches the breadth of the Swift language, but anchored in the features and idioms of C++. So if you know your Rule Of Fives and your SFINAEs and think you might be interested in Swift, I’d love to hear what you think.
- Part 1: Intro & Value Types
- Part 2: Reference Types & Optionals
- Part 3: Extensions and Access Control
- Part 4: Generics
- Part 5: Type erasure & metatypes
Previously:
Update (2024-04-24): Doug Gregor:
Part 6 covers error handling.
Update (2024-05-07): Part 7 covers closures.
Update (2024-05-21): Part 8 covers global variables.
Update (2024-06-25): Part 9 covers extensible literals.
Update (2024-07-02): Part 9 covers operator overloading.