4 ms·
Aren't we talking the "command pattern" here? There might not be an undo function but isn't encapsulating discrete business operations its responsibility? Maybe
by canterburry 14y ago
Aren't we talking the "command pattern" here? There might not be an undo function but isn't encapsulating discrete business operations its responsibility? Maybe more fine grained than a use case, but the sample code has a striking resemblance to the command pattern.