"Hammer" derives from an old Norse word meaning a stone implement. It is NOT related to the verb to ham, which means to act extravagantly, sentimentally, or in exaggerated fashion; usually hamming is reserved for those who fail in using a hammer correctly.
A