4 ms·
Since the answer to the rhetorical questions is a resounding no, there is very little meaningful behavior to be attached to the "domain objects". "Domain object
by pacala 14y ago
Since the answer to the rhetorical questions is a resounding no, there is very little meaningful behavior to be attached to the "domain objects". "Domain objects" do not obey the "Law of Demeter" and they are nothing but the data types of OCaml or Haskell. The other side of the coin are abstract apis, which are polymorphic collections of stateless functions, aka modules. Indeed, modern OO is functional programming in disguise.
Regarding Demeter, naming an anecdotically supported observation "Law" is a bit of a stretch ;)
- nessus42 14y ago> naming an anecdotically supported observation "Law" is a bit of a stretch ;) Maybe, but it's a common thing to do. C.f., the Law of Thirds.
- haldean 14y agoWhich may be why almost everyone calls it the "rule of thirds". [1] [1]: http://www.google.com/trends/?q=%22rule+of+thirds%22,+%22law+of+thirds%22 http://www.google.com/trends/?q=%22rule+of+thirds%22,+%22law...