Slices time complexity
Rustom Mody
rustompmody at gmail.com
Wed May 20 00:30:41 EDT 2015
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
More information about the Python-list
mailing list