Timothy Fitz wrote:

While I agree that the Zen of Python is an amazingly concise list of
truisms, I do not see any meaning in:

Flat is better than nested.

I strive for balance between flat and nested. Does anyone have a good
example of where this is applied? (specifically to python, or in
general)

One example would be using a function instead of a class when a function does the job at the module level. Using the appropriate degree of abstraction/indirection.

// m
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to