[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: comparative functions and "same metamethod" gotcha
- From: Javier Guerra Giraldez <javier@...>
- Date: Wed, 4 Jun 2014 14:41:57 -0500
On Wed, Jun 4, 2014 at 2:37 PM, Andrew Starks <firstname.lastname@example.org> wrote:
> I'm sure that there are excellent reasons for enforcing that the two objects
> have the same function and are the same type, but this experience felt like
> debugging threads in C.
i guess part of the reasons are like this: if two "objects" have
different __eq function, which do you use to compare them? it's
easiest to assume they're already different enough.