Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^9: IO::Lambda: call for participationby xdg (Monsignor) |
on Jan 06, 2009 at 13:55 UTC ( [id://734435]=note: print w/replies, xml ) | Need Help?? |
How about "conditions" instead of "predicates"? Also, at the expense of changing your API, it might be clearer if the functions names themselves were less like perl functions and more intuitively descriptive.
My thought is that since these aren't actually executed immediately, it would be better to have names that describe the activating condition rather than names that sound like an imperative. For documentation, I'd strongly suggest separating the perl signature from the context arguments. E.g.
-xdg Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.
In Section
Meditations
|
|