> Pointers do not exist in the ooPIC "world view".
Ah. That probably explains why I can't find a reference to reference.
> The simplest way (and
> perhaps the only way) is to use a global variable.
I was trying to avoid that, especially when explaining things to my
students. I try not to use shortcuts because I want them to learn good
programming practices from the beginning.
> It is not as pretty
> as using a reference in the argument list, but philosophically they
> are
> both side-effects, so...
I agree. It is a just an elegance thing.
Brian Lloyd
Granite Bay Montessori School 9330 Sierra College Bl
brian AT gbmontessori DOT com Roseville, CA 95661
+1.916.367.2131 (voice) +1.791.912.8170 (fax)
PGP key ID: 12095C52A32A1B6C
PGP key fingerprint: 3B1D BA11 4913 3254 B6E0 CC09 1209 5C52 A32A 1B6C
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/oopic/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/oopic/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
No comments:
Post a Comment