4 ms·
> It seems like you'd always want to use actors? My impression is that when working with Swift your first tool of choice should be a value type, so a strict or
by ogre_codes 6y ago
> It seems like you'd always want to use actors?
My impression is that when working with Swift your first tool of choice should be a value type, so a strict or an enum. Actors would only be desirable when you need class-like behaviors and need concurrency. Maybe I’m missing something, but I suspect many of us will never use actors directly at all. I certainly don’t see any parts of my code which demand this kind of structure.