The architect Christopher Alexander documented this in "Alexander, C. (1975). The Oregon Experiment. New York: Oxford University Press" - one of the foundations for the whole Pattern Language movement which strongly influenced software design.