William Gill wrote: > During some recent research, and re-familiarization with Python, I came > across documentation that suggests that programming using functions, and > programming using objects were somehow opposing techniques. > > It seems to me that they are complimentary. It makes sense to create > objects and have some functions that take those objects as arguments.
Python is a mixed paradigm language, with object, functional and imperative paradigms. > Are they suggesting that any function that takes an object as an > argument should always be a method of that object? Yes. http://steve-yegge.blogspot.com/2006/03/execution-in-kingdom-of-nouns.html [...] > Am I missing something, or am I taking things too literally? No, it is the OO purists who are missing something. -- Steven -- http://mail.python.org/mailman/listinfo/python-list