Re: Objects versus dictionaries

2010-11-14 Thread Dan Stromberg
On Sun, Nov 14, 2010 at 11:20 AM, Chris Rebert wrote: > On Sun, Nov 14, 2010 at 11:00 AM, Micah Carrick > wrote: > > I'm writing a little API that other people will use. There are up to 3 > > "objects" that get passed around. One of them has some validation > methods, > > the other two simply st

Re: Objects versus dictionaries

2010-11-14 Thread Hidura
Use *kargs to pass all the informatio that you need if u want in the future extended this will be usefull 2010/11/14, Micah Carrick : > I'm writing a little API that other people will use. There are up to 3 > "objects" that get passed around. One of them has some validation methods, > the other tw

Re: Objects versus dictionaries

2010-11-14 Thread Chris Rebert
On Sun, Nov 14, 2010 at 11:00 AM, Micah Carrick wrote: > I'm writing a little API that other people will use. There are up to 3 > "objects" that get passed around. One of them has some validation methods, > the other two simply store data and probably won't have any validation or > other methods.

Objects versus dictionaries

2010-11-14 Thread Micah Carrick
I'm writing a little API that other people will use. There are up to 3 "objects" that get passed around. One of them has some validation methods, the other two simply store data and probably won't have any validation or other methods. I only made them objects so that they are syntactically (is that