|
|
Re: In favor of teaching "dot notation"
Posted:
Oct 16, 2012 7:53 PM
|
|
Kirby says: >Such wrestling with metaphors is the bread and butter of the object oriented.
>X.spouse is an attribute of X, so in that sense "belongs to" X. >Tucking all that belongs to X inside of X is neat and tidy.
Oh I'm sure one can imagine they are tidy as can be especially with trivial problems. My real point in responding at all was to put in a plug for a classic book on the topic that casts doubt on such imaginings.
Joe N
|
|