[chuck-users] multiple inheritance

Julien Saint-Martin julien.saintmartin at googlemail.com
Fri Oct 5 11:15:45 EDT 2012


I am not sure to understand what I should try with "this" parameter. Do you
know where can I find an example?

2012/10/5 Kassen <signal.automatique at gmail.com>

> <CAF8ijLUqOCz4tsDgb3YFirM11bsuWnfBtCfz90dqw88=zqHRxg at mail.gmail.com>
>
> On Fri, Oct 05, 2012 at 04:54:28PM +0200, Julien Saint-Martin wrote:
> > That the approach I m thinking about now.
> >
> > But this way (including one object into one other) constraints you
> > to have additional interface functions?  Ok I know my question is
> > not clear ;-) let's illustrate it with an example:
>
> <snip>
>
> Yes, as far as I can see that will fly and indeed looks sensible for
> some use cases. If it is just a function you could also write it
> outside of any class, then call it from within your class with "this"
> as a parameter, in some cases.
>
>
> > If you feel I am lazy its true ;-) That's why I like to program, I
> > make the machines work for me!
>
> Of course you are, that's a virtue for programmers. Quite often the
> way to lazyness is through understanding. Well, the way to lazyness
> you can get away with is.
>
> Being lazy, making sweeping generalisations, theft, all great stuff
> ;-)
>
> Yours,
> Kas.
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20121005/ba85aba8/attachment.htm>


More information about the chuck-users mailing list