in reply to How do you wanna die() ?
For some perverse reason, I like the semi-technical messages. Firm favourites of mine for incorrect data are:
"User integrity error. Readjust thinking and retry entry to remedy $!\n"
"While checking data, sanity check was failed. Cannot commit entry. Commit user and retry.\n"
In sections of code I know work for me under all conditions the code should ever operate in that I know of, I have such entries as:
"Fatal error: $! Replace user and retry.\n"
I go on the theory that anyone using my code where I am has a reasonable sense of humour. Otherwise they'd have gone insane a while back. Those that went insane due to lack of humour would find the strangest of things funny anyway.
So, a little bit of levity when things go belly up is a good thing. :)
Just my tuppence worth..
Malk.
"User integrity error. Readjust thinking and retry entry to remedy $!\n"
"While checking data, sanity check was failed. Cannot commit entry. Commit user and retry.\n"
In sections of code I know work for me under all conditions the code should ever operate in that I know of, I have such entries as:
"Fatal error: $! Replace user and retry.\n"
I go on the theory that anyone using my code where I am has a reasonable sense of humour. Otherwise they'd have gone insane a while back. Those that went insane due to lack of humour would find the strangest of things funny anyway.
So, a little bit of levity when things go belly up is a good thing. :)
Just my tuppence worth..
Malk.
In Section
Meditations