[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: Why a : (colon) operator?
- From: "Paul Hudson" <phudson@...>
- Date: Thu, 14 Sep 2006 16:14:24 +0100
> Actually, you *can* build a OO system in Lua that uses . as the method
>call notation. The end result uses more memory, but is faster than
>traditional : notation.
Which highlights another reason why I don't think there should be an
automatic implicit "self" - it "ennobles" one particular view of object
You don't have to use objects in Lua - it's not just an OO language, and if
you do, you don't have to conform to a particular model of OO. This is a