I avoid using $_ and default arguments even in the shortest programs, except when i have to (in map, for example) or in very particular idioms, such as
for ($string) { s/^\s+//; s/\s+$//; }
(from perlfaq4.)
And i usually avoid postfix conditions.
But as everyone here says, it's a matter of taste.
In reply to Re: Writing code that looks nice
by amir_e_a
in thread Writing code that looks nice
by theantler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |