[swift-users] Are value semantics really appropriate in a diagramming app?

Rick Mann rmann at latencyzero.com
Mon Aug 1 18:34:31 CDT 2016

> On Aug 1, 2016, at 16:32 , Jens Alfke <jens at mooseyard.com> wrote:
>> On Aug 1, 2016, at 1:19 AM, Rick Mann via swift-users <swift-users at swift.org> wrote:
>> It seems like reference semantics are more appropriate here.
> Yes, they are. (Just because structs exist doesn’t mean you have to use them everywhere.)

Of course. I'm just trying to expand on the Diagramming app example in the talks to a more real-world example. They make a compelling case for a value-based model, but I'm currently stuck trying to figure out how to do this in my complex app without duplicating a lot of code.

Rick Mann
rmann at latencyzero.com

More information about the swift-users mailing list