Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Tyler Cloutier cloutiertyler

🎯
Focusing
  • Johns Hopkins University
  • United States
Block or report user

Report or block cloutiertyler

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Value Semantics.md

Thoughts on Value Semantics

Value semantics is obviously a super deep topic and I’m certain a lot smarter people have thought about it more deeply than I can, but I just need to get a couple thoughts off my chest. I’ve been thinking about it on and off since Swift introduced me to value types/semantics!

Since this is a short document about a huge topic, I’m just going to restrict it to thinking about two problems that seem related and possible solutions.

(I also think that looking at value semantics through the lens of these two problems also leads to a more general way of looking at value semantics.)

You can’t perform that action at this time.