On 20/05/2015 05:30, Rustom Mody wrote:
On Wednesday, May 20, 2015 at 9:54:57 AM UTC+5:30, Marko Rauhamaa wrote:
Ben Finney :
Right. So the box with an arrow coming out of it is a good metaphor for
pointers -- *in languages that have pointers*, which Python does not.
A box with an arrow coming out of it is a poor metaphor for Python's
references, since a Python reference doesn't contain anything accessible
to the programmer.
Lisp doesn't have pointers. However:
<URL: http://upload.wikimedia.org/wikipedia/commons/1/1b/Cons-cells.svg>
<URL: http://cs.gmu.edu/~sean/lisp/cons/>
<URL: http://www.csee.umbc.edu/courses/331/fall11/notes/scheme/scheme2.ppt>
And what about Java?
http://stackoverflow.com/questions/166033/value-semantics-and-pointer-semantics
And what about CORAL66/250? How do you explain Python in terms of the
original 66 and the 250 derivative? What is the unladen air speed
velocity of a swallow in flight? Who actually gives a stuff?
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list