Go Slices: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
=Overview= | =Overview= | ||
A ''slice'' is a reference type that implements a ''dynamic array''. | A ''slice'' is a reference type that implements a ''dynamic array''. Slices are indexable, and they have a variable length. | ||
<font color=red>'''TODO''' Deep difference between slice and array (memory model, etc.)</font> | <font color=red>'''TODO''' Deep difference between slice and array (memory model, etc.)</font> | ||
=Slice Literals= | =Slice Literals= |
Revision as of 23:14, 27 March 2016
Internal
Overview
A slice is a reference type that implements a dynamic array. Slices are indexable, and they have a variable length.
TODO Deep difference between slice and array (memory model, etc.)