Michael Long
Jan 13, 2025

--

Makes the all-to-common mistake of conflating the role of a singleton with the concept of a single-point-of-access.

And one could, in fact, have a singleton actor.

Finally, actors help reduce problems associated with race conditions, but they don't eliminate them on their own. Especially when working with asynchronous contexts.

--

--

Michael Long
Michael Long

Written by Michael Long

I write about Apple, Swift, and SwiftUI in particular, and technology in general. I'm also a Lead iOS Engineer at InRhythm, a modern digital consulting firm.

No responses yet