A complex pattern woven by the loom needed tens of thousands of individually punched cards. But once made and debugged – like a software program -- the cards could be used many times to create identical fabric.