[Nh-pm] The Perly Way

Paul L Lussier pll at lanminds.com
Wed May 14 13:19:57 CDT 2003


In a message dated: Wed, 14 May 2003 14:09:57 EDT
Ray Cote said:

>Hi Paul.
>My preference is for this first one.
>Seems the most readable for me.
>Thanks for the quick feedback.
>(so much to learn...)

Interesting.  I would've have opted for the third one.  I don't see a 
lot of difference in readability between the three, so I would have 
gone after the efficiency of the the third (which incidently, has a 
minor bug in it, can you spot it :)

But hey, whatever skins your cat :)  There was nothing wrong with 
what you had to begin with, it was just slightly inefficient to loop 
through the each array twice.
-- 

Seeya,
Paul
--
Key fingerprint = 1660 FECC 5D21 D286 F853  E808 BB07 9239 53F1 28EE

	It may look like I'm just sitting here doing nothing,
   but I'm really actively waiting for all my problems to go away.

	 If you're not having fun, you're not doing it right!





More information about the Nh-pm mailing list