octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: classdef internals documentation


From: Michael Goffioul
Subject: Re: classdef internals documentation
Date: Thu, 26 May 2016 22:00:22 -0400

On Thu, May 26, 2016 at 7:34 PM, Mike Miller <address@hidden> wrote:
All,

I am trying to understand the code behind Octave's classdef
implementation. I'm no stranger to "use the source", just wondering if
anyone knew of any docs or resources to help get started.

There's no documentation about the internals, but I'm happy to answer questions.
 

For example, I'm vaguely familiar with the obscure terms Matlab uses for
OO, so I sort of get what a value_cdef_object vs a handle_cdef_object
are. But I find it strange that a cdef_method_rep inherits from a
handle_cdef_object, maybe there is a reason for that?

Because a method object has more the semantic of a handle object than a value object. All the "meta" objects actually are of handle type.

Michael.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]