Content
Introduction
How Slices Work
How append and copy Works
How Slice Expressions Work
⚠️ Modifying a Sliced-slice Modifies the Original Slice
⚠️ Calling append on a Sliced-slice May Modify the Original Slice
Introduction
Go programming language has two fundamental types at the language level to enable working with numbered sequence of elements: array and slice. At the syntax level, they may look like the same but they are fundamentally very different in terms of their behavior. The m...
Published on September 12, 2020 09:55