I remember hearing stories in undergrad about code written on paper and mercilessly reviewed so that it would work perfectly the first time it was compiled. Can't remember the specifics and may have been an urban legend -- but this is the closest thing I've seen recently.