Skip to main content

Timeline for Method chaining vs encapsulation

Current License: CC BY-SA 2.5

3 events
when toggle format what by license comment
Feb 17, 2011 at 7:05 comment added CesarGon @Oak: Doing anything blindly is never good. One needs to look at pros and cons and make decisions based on evidence. This includes the Law of Demeter, as well.
Feb 16, 2011 at 11:57 comment added Oak On the other hand blindly following that law means that the number of methods A has will explode with a lot of methods A may want to delegate away anyway. Still, I agree with the dependencies - that does drastically reduce the amount of dependencies required from the client code.
Feb 16, 2011 at 9:56 history answered CesarGon CC BY-SA 2.5