[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Is there a reason why __eq, __lt, __le metamethods enforce returning booleans?
- From: Dirk Laurie <dirk.laurie@...>
- Date: Mon, 17 Sep 2018 11:14:03 +0200
Op Ma., 17 Sep. 2018 om 11:03 het Dirk Laurie <dirk.laurie@gmail.com> geskryf:
> Look, the notation "a<b" to mean a non-boolean is so counterintuitive,
> why not use just say "a|b" which can return whatever? Or have you used
> up all the binary operators already?
I'm dull this Monday morning ... "a<<b" is of course a much more reasonable
choice thab "a|b".