
Immediately invoked closures are often used to create, configure, and assign an instance of a type all at once. However this can also be accomplished via a custom initializer. Today we discuss the benefits and drawbacks of each approach.Exercise and solution code
Jun 27, 2020
22 min

Stored vs computed properties, brevity vs readability.Exercise and solution code
Jun 21, 2020
21 min

Class vs struct vs enum, function overloading vs default parameter values, String concatenation vs interpolation, static vs global function.Exercise and solution code
Jun 16, 2020
16 min
