Hi
i have naming problems with two of my functions
i've got a function
is_void
that returns true if the argument is "empty" (in some sense). How would you call an opposite function?isnt_void
?is_set
?is_not_void
?i have a pair of functions, the first one installs a handler to catch errors in the subsequent code and the second removes this handler.
install_error_handler/remove_error_handler
looks too long and ugly, i'd prefer a pair of short verbs (like watch/unwatch).
Any ideas are greatly appreciated.
Thanks for the answers so far
UPDATED: I need a function for "isn't void" because it's going to be used like someArray.map(is_not_void)
the second one cannot be simply "register" or "install", because it's used without arguments.