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
Published 06/27/20