Re:a[low:high:max] in Golang – A Rare Slice Trick
by UncleEntity on Saturday March 18, 2023 @01:37PM
(#35211257)
I know even less go but it sounds like it prevents accidentally writing past the end of the array by making a copy and appending to that.
[ Parent
| on HN ]
There are no comments on this comment yet.