Help me pick an API design (OO vs functional)

Chris Angelico rosuav at gmail.com
Tue Mar 26 07:57:21 EDT 2013


On Tue, Mar 26, 2013 at 10:52 PM, Michael Herrmann
<michael.herrmann at getautoma.com> wrote:
> 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.

ChrisA



More information about the Python-list mailing list