Le 30/04/2013 05:05, Ian Haywood a écrit :
> On 30/04/13 00:34, Benoît Minisini wrote:
>
>> If theses twwo arguments must be handled differently between classes,
>> then add a public method to handle them. Prefix its name with an
>> underscore, to indicate that it must not be called outside of the
On 30/04/13 00:34, Benoît Minisini wrote:
> If theses twwo arguments must be handled differently between classes,
> then add a public method to handle them. Prefix its name with an
> underscore, to indicate that it must not be called outside of the
> implementation.
>
> ' Root class
> Public S
Le 20/04/2013 13:18, Bruce a écrit :
> On Sat, 2013-04-20 at 11:36 +0200, Fabien Bodard wrote:
>> The check is not done for the "_new" special method, as the inheritance of
>> _new is special (see "inheritance and constructor" in the "Gambas object
>> model" documentation on the wiki).
>
> Yep, I k
On Sat, 2013-04-20 at 11:36 +0200, Fabien Bodard wrote:
> The check is not done for the "_new" special method, as the inheritance of
> _new is special (see "inheritance and constructor" in the "Gambas object
> model" documentation on the wiki).
Yep, I know that, but Ian's comment was about overrid
The check is not done for the "_new" special method, as the inheritance of
_new is special (see "inheritance and constructor" in the "Gambas object
model" documentation on the wiki).
2013/4/20 Bruce
> On Sat, 2013-04-20 at 15:08 +1000, Ian Haywood wrote:
> > On Sat, Apr 20, 2013 at 11:13 AM, Br
On Sat, 2013-04-20 at 15:08 +1000, Ian Haywood wrote:
> On Sat, Apr 20, 2013 at 11:13 AM, Bruce wrote:
> > I have a deep hierarchy of classes, seven levels of specialisation so
> > far and likely to grow.
> wow.
>
> > At level 4, 6 dummy and the 2 real parameters, i.e.
> > hObj = New
> >
On Sat, Apr 20, 2013 at 11:13 AM, Bruce wrote:
> I have a deep hierarchy of classes, seven levels of specialisation so
> far and likely to grow.
wow.
> At level 4, 6 dummy and the 2 real parameters, i.e.
> hObj = New
> Level4Class(Null,Null,Null,Null,Null,Null,Source,Name)
>
> Thi
I have a deep hierarchy of classes, seven levels of specialisation so
far and likely to grow. There are 64 classes in the hierarchy, which is
very strongly designed.
When instantiating any of these objects, the exact type to be created is
unknown, so the root class has a static "factory method" t