Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #41890

Re: Help me pick an API design (OO vs functional)

Newsgroups comp.lang.python
Date 2013-03-26 05:20 -0700
References <68da956e-ebe0-4f58-92cd-f7ffff0075b4@googlegroups.com> <mailman.3727.1364292472.2939.python-list@python.org> <dd54c915-9c81-4fa2-8b4a-99e8b45a2f5d@googlegroups.com> <mailman.3738.1364299470.2939.python-list@python.org>
Message-ID <1a32e2c4-ca0d-4390-8dde-8345d8f7b28c@googlegroups.com> (permalink)
Subject Re: Help me pick an API design (OO vs functional)
From Michael Herrmann <michael.herrmann@getautoma.com>

Show all headers | View raw


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.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Help me pick an API design (OO vs functional) Jean-Michel Pichavant <jeanmichel@sequans.com> - 2013-03-26 11:07 +0100
  Re: Help me pick an API design (OO vs functional) Michael Herrmann <michael.herrmann@getautoma.com> - 2013-03-26 04:52 -0700
    Re: Help me pick an API design (OO vs functional) Chris Angelico <rosuav@gmail.com> - 2013-03-26 22:57 +1100
      Re: Help me pick an API design (OO vs functional) Michael Herrmann <michael.herrmann@getautoma.com> - 2013-03-26 05:20 -0700
  Re: Help me pick an API design (OO vs functional) Michael Herrmann <michael.herrmann@getautoma.com> - 2013-03-26 04:52 -0700

csiph-web