[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: strings
- From: steve donovan <steve.j.donovan@...>
- Date: Thu, 17 Dec 2009 08:20:42 +0200
On Wed, Dec 16, 2009 at 9:19 PM, Cosmin Apreutesei
<cosmin.apreutesei@gazolin.ro> wrote:
> In the face of metamethods, type() becomes irrelevant -- it only tells
> you how a value is implemented, not how it is expected to behave.
Yes, so like others, I've written utility functions to detect the
'effective' type of an object. This depends on the OOP style used, so
it can never be standard.