in reply to Need help with a conceptual speed bump
The advice about symbolic refs applies to people who are using them to store an unknown amount of arbitrary data and who don't realize that they may accidentally create clashes between different parts of their code, and that they might wipe out something important.
You're using them for meta-programming, which is exactly what they are good for.
Incidental question. Why are you returning the string 'SUCCESS' rather than just using true/false normally? (Using true/false would seem like less code, should run faster, and reduces opportunities for typing something like 'SUCCSES' to make for a runtime logic error that might not be easy to spot.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Need help with a conceptual speed bump
by mstone (Deacon) on May 03, 2005 at 23:33 UTC | |
by tilly (Archbishop) on May 04, 2005 at 00:01 UTC | |
by mstone (Deacon) on May 04, 2005 at 00:41 UTC |