October 2025
Intermediate to advanced
673 pages
15h 55m
English
We want our modules to be polite. Polite modules follow Ward Cunningham’s definition of cleanliness. As you read the code, you find it to be “pretty much what you expected.”
A module is a bounded set of functions and variables. This might be composed of one class, several classes, or no classes at all. What matters are the functions and variables. A module may also be contained in a single source file or several source files. What matters is the cohesion of the functions and variables, and not the artificial boundaries that separate them. Another common word for a module is a component.
If you follow something roughly akin to Extract ...
Read now
Unlock full access