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
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@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users