[prev] [thread] [next] [lurker] [Date index for 2003/08/28]
On Thursday, August 28, 2003 4:52 PM, David Cantrell <david@xxxxxxxx.xxx.xx> wrote: > Are deeply nested data structures that naughty? With sensible keys I > find them easy to use, even if you do things like ... > > $foop->{boing}->{$foop->{wibbles}->{$wibble}} > I had a colleague who insisted on doing this: $foop->{boing}->{$foop->{wibbles}->{$wibble}}{look} = 1; $foop->{boing}->{$foop->{wibbles}->{$wibble}}{at} = 1; $foop->{boing}->{$foop->{wibbles}->{$wibble}}{all} = 1; $foop->{boing}->{$foop->{wibbles}->{$wibble}}{this} = 1; $foop->{boing}->{$foop->{wibbles}->{$wibble}}{copy} = 1; $foop->{boing}->{$foop->{wibbles}->{$wibble}}{and} = 1; $foop->{boing}->{$foop->{wibbles}->{$wibble}}{pasting} = 1; To make it even harder to read he'd use lines well over 100 characters wide. Gavin.There's stuff above here
Generated at 14:02 on 01 Jul 2004 by mariachi 0.52