This has nothing to do with value and reference types
No? I was responding to the assertion that [] === [] -> false is unintuitive/incorrect, when actually it is correct since it performs reference evaluation. Do the same with a value type and you'll see it perform as expected.
1
u/doomslice May 09 '12
Once you understand the difference between value and reference types, this doesn't sound bad, and is similar to how many other languages work.