pointer

Jeff Shannon jeff at ccvcorp.com
Tue Apr 9 19:17:51 EDT 2002


In article <a8vk7h$apk$1 at news.mathworks.com>, 
jmarshal at mathworks.com says...
> 
> To emulate the semantics of pointers, I like using single-element
> lists, as some others have suggested.
> 

I prefer to *not* emulate the semantics of pointers.  If I have 
data that needs to be changed in such a way, I'll put it in a 
class and change it through a method.  If I wanted to fiddle with 
pointers, I'd program in C.

-- 

Jeff Shannon
Technician/Programmer
Credit International



More information about the Python-list mailing list