Welcome to the Monastery | |
PerlMonks |
Re: The Cost of Nested Referencingby gjb (Vicar) |
on Nov 15, 2002 at 13:05 UTC ( [id://213136]=note: print w/replies, xml ) | Need Help?? |
In general I take the fact that complicated data structures start to occur in code as a sign that it's time to introduce some classes (refactoring term: the code smells ;-) Usually the structure actually reflects the relationships between various objects (that can contain other objects, etc.). Regardless whether or not this results in a speed up of the code, introducing OO definitely leads to clearer and cleaner code. Just my 2 cents, -gjb-
In Section
Meditations
|
|