There is this paper [1] by John McCarthy on what he calls Elaboration Tolerance:
Elaboration tolerance is the ability to accept changes to a person’s or a computer program’s representation of facts about a subject without having to start all over.
This could make a good definition of what is 'good code'.
[1] http://jmc.stanford.edu/articles/elaboration/elaboration.pdf