Y
Hacker News
new
|
ask
|
show
|
jobs
by
flippinburgers
1752 days ago
This is why passing a pointer to a slice as a function parameter is required if you want to avoid subtle bugs in functions that alter the length of the contents of slices.
To be clear the author is incorrect.