A Hamming code is an error-correcting block code . The code is named after Richard Hamming who developed it in the 1940s . In telecommunication , a Hamming code is a linear error-correcting code named after its inventor , Richard Hamming .