in reply to RFC: New style for argument check in subs
FWIW: For named args -- which I rarely see the need for these days -- to do existence checking, defaulting and reporting of unknowns, I settled on this a long time ago.
Simple, compact, understandable and efficient, it serves my purposes for the rare occasions I need it.
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: RFC: New style for argument check in subs
by LanX (Saint) on Sep 05, 2012 at 13:22 UTC | |
by BrowserUk (Patriarch) on Sep 05, 2012 at 13:34 UTC | |
by LanX (Saint) on Sep 05, 2012 at 13:45 UTC | |
by Anonymous Monk on Sep 05, 2012 at 15:02 UTC | |
by BrowserUk (Patriarch) on Sep 05, 2012 at 15:18 UTC |
In Section
Meditations