T
Tony Arcieri
[Note: parts of this message were removed to make it a legal post.]
You still seem to be missing what I'm proposing.
For Numerics, ++ would rebind. For everything else, it would be dispatched
as a message.
Am I being unclear?
As Matz himself has pointed out in this thread,
Which is something I've said on this thread before (multiple times IIRC).
This has nothing to do with whether or not the object bound to a
variable is immutable, it has to do with how ruby variable bindings
can and cannot be changed, and that is the whole point.
You still seem to be missing what I'm proposing.
For Numerics, ++ would rebind. For everything else, it would be dispatched
as a message.
Am I being unclear?