3 ms·
Not really the same thing - that only works for classes wrapping a single value, not things like the given Point example.
by lmm 13y ago
Not really the same thing - that only works for classes wrapping a single value, not things like the given Point example.
- frowaway001 13y agoThe point is that the proposal now is pretty much identical with what Scala people wanted in the first place. The single-field restriction is there because there are limits in how aggressive one can fight a non-cooperating runtime, not because it was their principled choice.