[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Recursive local functions
- From: rjek@...
- Date: Thu, 4 Jan 2001 19:16:22 +0000
On Thu, Jan 04, 2001 at 11:10:30AM -0800, Steve Dekorte wrote:
> On Thursday, January 4, 2001, at 10:49 AM, rjek@digital-scurf.org wrote:
> > On Thu, Jan 04, 2001 at 10:44:11AM -0800, Steve Dekorte wrote:
<snip>
> > > function myObject:foo(bar)
> > > ... self:foo(bar2) ...
> > > end
> >
> > Doing this is a bit of overkill, if the 'class' in question only has one
> > method, and no externally accessable variables.
>
> I agree, but chances are that whatever your function is manipulating has
> other functions that manipulate it which can be collected into a proper object.
Yes; possibly. I suppose the only argument I can think of agaist that at
the moment is that it doesn't suit my programming style :)