Help me pick an API design (OO vs functional)

Michael Herrmann michael.herrmann at getautoma.com
Tue Mar 26 08:20:21 EDT 2013


On Tuesday, March 26, 2013 12:57:21 PM UTC+1, Chris Angelico wrote:
> On Tue, Mar 26, 2013 at 10:52 PM, Michael Herrmann
> > Doesn't the IPython do auto-completion for "global" functions?
> 
> Even if it does, it'll be polluted with every other global. Methods
> don't have that problem. On the flip side, since presumably this is
> (will be) a module, anyone who wants autocomplete of its top-level
> functions can simply "import module" instead of "from module import
> *", which will do the same namespacing.

True! I don't think "polluting" the global namespace is that much of an issue.



More information about the Python-list mailing list