Re: [Numpy-discussion] design patterns for computing

2007-10-17 Thread Alan G Isaac
It sounds to me like you have something closer to the following. class Problem - initialized with an Input instance and an Analysis instance - has a ``get_results`` method that asks the Analysis instance to - call ``get_input`` on Input instance - run analysis on the provided

[Numpy-discussion] design patterns for computing

2007-10-17 Thread Renato Serodio
Hello there, some helpful pointers provided in the list have put me on track to ask further questions. Now that I'm acquainted with simulating interfaces and duck-typing (which is still a bit fuzzy to me) I think the information I've been looking for all along are the so-called 'design patterns'.