in reply to On elegant coding...
in thread Just thinking ...
aggregates two actions, whileshow_cache_and_exit($STATE);
would have been written asupdate_cache(); exit 0;
if it were consistent with the aggregation methodology used for show_cache()update_cache_and_exit(0)
Alternatively, and in the favor of fine granularity,
show_cache_and_exit($STATE);
Could be written as
show_cache(); exit($STATE);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: On elegant coding...
by merlyn (Sage) on Oct 14, 2000 at 07:54 UTC |