in reply to Re^6: When every microsecond counts: Parsing subroutine parameters
in thread When every microsecond counts: Parsing subroutine parameters
I have occasionally desired say $x,,,,$y to be a shortcut for $x,undef,undef,undef,$y.Be happy that you need the undef! Counting the nothings between the commas must be one of the most frustrating exercises ever devised.
CountZero
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: When every microsecond counts: Parsing subroutine parameters
by blazar (Canon) on May 19, 2008 at 18:53 UTC |