Nov. 12th, 2007

juan_gandhi: (Default)
Intro:
The Law of Demeter for functions requires that a method M of an object O may only invoke the methods of the following kinds of objects:

1. O itself
2. M's parameters
3. any objects created/instantiated within M
4. O's direct component objects

In particular, an object should avoid invoking methods of a member object returned by another method.

[Poll #1087502]

Profile

juan_gandhi: (Default)
Juan-Carlos Gandhi

October 2025

S M T W T F S
    1 23 4
5 678 9 1011
12 131415161718
19202122232425
262728293031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Oct. 14th, 2025 10:19 am
Powered by Dreamwidth Studios