Arthur Clarke may have quoted the comment about knowing you're to be
hanged in the morning concentrating a man's mind wonderfully, but the
source of the comment is Samuel Johnson.

(Pardon me if you already knew that.)