Hacker News new | past | comments | ask | show | jobs | submit login

It doesn't explode the slice:

If the final argument is assignable to a slice type []T, it may be passed unchanged as the value for a ...T parameter if the argument is followed by .... In this case no new slice is created.


(Otherwise, I completely agree that having to use append to remove an element is stupid.)

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact