I echo radiantmatrix's comment: better to explicitly say what you mean.
Where alternate 1 does the job, but offers no significant performance advantage, is not significantly shorter and is obscure (to any degree), then alternate 2 which is explicit is always better (unless of course you are writing deliberatly obscure code).
In reply to Re^4: Problem with Perl editors.
by GrandFather
in thread Problem with Perl editors.
by techcode
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |