The history of the computer goes well beyond the creation of basic electromechanical and electromagnetic computers developed in the early to mid 20th century. The science behind it was developed in the centuries preceding that, from relays to binary arithmetic. Historian George Dyson gave a TED talk about the long history of the computer along with a humorous look through some notebooks kept by early programmers.
Check out the video here.