http://martinfowler.com/bliki/CommandQuerySeparation.html
http://en.wikipedia.org/wiki/Command-query_separation
Queries: Return a result and do not change the observable state of the system (are free of side effects).
Commands: Change the state of a system but do not return a value.
No comments:
Post a Comment