On 2005 Jan 20, at 02:47, Skip Montanaro wrote:
Phillip Actually, this is one of those rare cases where
optimization
Phillip and clarity go hand in hand. Human brains just don't
handle
Phillip nesting that well. It's easy to visualize two levels of
nested
Phillip structure,
On Thu, 20 Jan 2005 09:03:30 +1000, Stephen Thorne
[EMAIL PROTECTED] wrote:
Flat is better than nested has one foot in concise powerful
programming, the other foot in optimisation.
foo.bar.baz.arr involves 4 hashtable lookups. arr is just one hashtable
lookup.
I find it amazingly hard to
At 07:03 PM 1/19/05 -0500, Timothy Fitz wrote:
On Thu, 20 Jan 2005 09:03:30 +1000, Stephen Thorne
[EMAIL PROTECTED] wrote:
Flat is better than nested has one foot in concise powerful
programming, the other foot in optimisation.
foo.bar.baz.arr involves 4 hashtable lookups. arr is just one
Phillip Actually, this is one of those rare cases where optimization
Phillip and clarity go hand in hand. Human brains just don't handle
Phillip nesting that well. It's easy to visualize two levels of nested
Phillip structure, but three is a stretch unless you can abstract at
On Wed, 19 Jan 2005 19:03:25 -0500, Timothy Fitz [EMAIL PROTECTED] wrote:
On Thu, 20 Jan 2005 09:03:30 +1000, Stephen Thorne
[EMAIL PROTECTED] wrote:
Flat is better than nested has one foot in concise powerful
programming, the other foot in optimisation.
foo.bar.baz.arr involves 4