Classes and Objects - slide 9 : 29 |
A minor modification of a program may spread as a fire throughout the program.
Such a fire may ruin most of the program in the sense that major parts of the program may need to be reprogrammed.
The use of firewalls prevents the spread of a fire.
Similarly, encapsulation and visibility control prevent program modifications from having global consequences.