soc.me · Oct 31, 2017
Language Design: Equality & Identity – Part 3: Solution
0Sign in to vote or save
This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.
Let’s take a step back and think about what these equality operations do: Reference equality acts as a built-in, hard-coded comparison of the references themselves. Value equality compares equality according to a user-defined implementation. Is it possible to re-interpret reference equality that retains the existing behavior for reference types, but adds intuitive and useful behavior for value…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.