Evening,
Is there a common or standardised name given to a function or method whose execution is not crucial or necessary for the successful execution of a program? Whether the function fails or succeeds in its purpose is not important, only that it was attempted.
I've been naming such functions as "volatile" (e.g. volatileInsertSearchLog()
), as they're not always expected to succeed, but still may return a value for error reporting purposes. I was curious to see whether there was a more suitable name?
Cheers!