This article relies largely or entirely on a single source. (March 2024) |
In object oriented programming, viscosity[1] refers to the ease at which a developer can add design-preserving code to a system. If it is easier to add a hack than it is to add code that fits into the program's design, then the system has high viscosity. If it is easy to add new code to the program while maintaining the design, then the program has low viscosity.
The name is a metaphor for viscosity in liquids.
See also
editReferences
edit- ^ Metz, Sandi. "GORUCO 2009 - SOLID Object-Oriented Design". Youtube. Minute 3:49. Archived from the original on 2021-12-19. Retrieved 25 February 2019.
{{cite web}}
: CS1 maint: location (link)