James Gleick's book The Information: A History, a Theory, a Flood provides an interesting view of the history of several areas relating to coding.