[Tutor] Re: How do you share a method (function) among several objects?

Jorge Godoy godoy at ieee.org
Sun Feb 27 20:22:33 CET 2005

Xif <xifxif at gmail.com> writes:

> Ok, so keeping getCells() as an external function makes sense.
> But where exactly do you recommend I'd put it?
> In a seperate module, like I currently do, even though it's going to be the
> only piece of code contained inside that module?

I don't see any problem with this.

If this is all you need to share, why not?

Be seeing you,

More information about the Tutor mailing list