On 11/18/06, Bob Ippolito <[EMAIL PROTECTED]> wrote:
> On 11/15/06, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> > I'm convinced that it's better for people to get over that silly notion
> > that writing x.foo() is somehow always "better" than writing foo(x), in
> > a language that actually supports both forms.
> >
> Instead of classes you just keep the state as a parameter.

Classes make nice bundles of methods that you can pass around as a
unit. They show that "this goes with that". You can do the same thing
with modules but not as flexibly. For instance, you can have several
classes in one module, but not several modules in one module.

--
Mike Orr <[EMAIL PROTECTED]>
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to