in reply to Re^4: referencing slices - love that DWIM
in thread referencing slices - love that DWIM
A list is an ephermeral thing; a transient set of values on the call stack. There's no way to take a reference to it since it has no permanent home to which to refer. An array on the other hand has a permanent location in memory to which a pointer can be obtained.
The cake is a lie.
The cake is a lie.
The cake is a lie.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: referencing slices - love that DWIM
by syphilis (Archbishop) on May 17, 2008 at 13:57 UTC | |
by Fletch (Bishop) on May 17, 2008 at 19:47 UTC | |
|
Re^6: referencing slices - love that DWIM
by DrHyde (Prior) on May 19, 2008 at 09:58 UTC | |
by Fletch (Bishop) on May 19, 2008 at 12:13 UTC |