The document discusses two design patterns - Command-Query Separation and Combined Method - for allocating responsibility to methods in a class interface. It argues that separating query and command methods can improve clarity but encourages property-style programming, while combining related methods guarantees correctness when dealing with concurrency and distribution. The Combined Method pattern is recommended to encapsulate common sequences of methods that must succeed together to avoid errors from threading, exceptions or remote calls.
Related topics: