On 01/07/2014 05:07, Marvin Humphrey wrote:
On Mon, Jun 30, 2014 at 7:21 AM, Nick Wellnhofer <[email protected]> wrote:
You had voiced support for going from VTable to Class:

     http://s.apache.org/yNW

     By the way, I'm really in favor of renaming Clownfish::VTable to
     Clownfish::Class.

So if you get to that before I do, great.  Otherwise, I understand that I'm
the one blocking and it's my responsibility to make stuff happen.

Yes, I'd like to work on that.

Possible concerns:

*   Some host languages provide a getClass() method, which we'll want to avoid
     clashing with.  So when we rename Obj#Get_VTable(), we'll need to name it
     something like Get_CFClass().

I'd prefer to add a host method alias in this case.

*   We can't name a struct member `class`[1].  We might go with either
     `cfclass` or `klass` (both of which I'd prefer over `cls` or `clazz`).

I don't have a strong preference but we've been using "klass" in CFC anyway so let's stick with that.

*   My personal preference would be to have no `nickname` for Class, rather
     than the unpronounceable `Cls`: Class_Get_Name(), Class_Make_Obj(), etc.

+1.

Nick


Reply via email to