[IPython-dev] Flat is better than nested

Stéfan van der Walt stefan at sun.ac.za
Tue May 28 11:55:15 EDT 2013


On Tue, May 28, 2013 at 5:41 PM, Carlos Córdoba <ccordoba12 at gmail.com> wrote:
>> So the frontend/ level was serving one purpose only: informing users
>> of the code, by aggregation in the filesystem, that html, terminal and
>> qt are our three frontends.
>
> Yes, that was precisely my point (and I think Stéfan's too).

Yes, I think what I tried to convey was that having a single level of
nesting up-front does not hurt--the problem is having classes hidden
deep within the hierarchy.  E.g., if I can do

from IPython.frontend import qt

and work only with "qt" from there, that's perfectly adequate.

Stéfan



More information about the IPython-dev mailing list