anything like C++ references?

Aahz aahz at pythoncraft.com
Mon Jul 14 16:30:22 CEST 2003


In article <7dc4hvslh7a8fk9p6cvsfqa1c8d44rmmnv at 4ax.com>,
Stephen Horne  <intentionally at blank.co.uk> wrote:
>
>C++ has precisely one type of variable. That variable is a placeholder
>for a value of a datatype which is specified in the declaration. The
>datatype may be a pointer datatype, but so what? Pointer datatypes are
>not treated any differently than other datatype except that they, like
>all datatypes, they have their own set of functionality.

Really?  I would argue that the differing syntaxes is an argument
against a single type of variable.  What happens with this:

char a;
a->b;
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"Not everything in life has a clue in front of it...."  --JMS




More information about the Python-list mailing list