Sara Golemon wrote:
I say mixed to avoid confusing the user with protos like:
somefunc(callback callback);
Of course, if all uses of 'callback' as a parameter name were changed to
something else (and no not 'function') then I'd be okay with the use of
'callback' as a type.  'userfunc' or 'handler' sound okay...

well, somefunc(callback callback) is a not-so-clever naming indeed, but you could also have someone write somefunc(userfunc userfunc) or somefunc(handler handler)

when i did originally introduce 'callback' i tried to change the
actual parameter names from 'callback' to something more meaningfull
but i'm not sure whether some of these cases slipped through back then ...

--
Hartmut Holzgraefe  <[EMAIL PROTECTED]>


-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to