in reply to Re^2: What's so bad about &function(...)?
in thread What's so bad about &function(...)?
Um... they're both the wrong way to write @foo, but the second one's more inefficient, but caring excessively about efficiency of bad code that you should refactor anyway is a premature optimization, so ... umm... it's a trick question, with the answer of "There's no difference; you'ld never use either one in production code?"
Do I win? :-) Or did I miss something subtle? :-(
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: What's so bad about &function(...)?
by Zaxo (Archbishop) on Dec 08, 2005 at 08:15 UTC | |
by demerphq (Chancellor) on Dec 08, 2005 at 10:21 UTC | |
by jdporter (Paladin) on Dec 20, 2005 at 13:07 UTC | |
by Anonymous Monk on Dec 08, 2005 at 16:55 UTC | |
|
Re^4: What's so bad about &function(...)?
by jdporter (Paladin) on Dec 07, 2005 at 22:50 UTC | |
by Anonymous Monk on Dec 08, 2005 at 16:48 UTC |