You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to add these functions in the standard library, we need generics. I don't think it's worth adding predeclared functions for these. Closing this issue in favor of generics; it can be reopened if generics is not added to the language.
The predeclared append function was added to the language in 2010, when there was no prospect of adding generics to the language. Now in 2020 we are much closer to adding generics. For example, see https://blog.golang.org/why-generics. It may also be interesting to read https://www.airs.com/blog/archives/559.
Please offer standard functions for deleting elements from a slice, instead of people using poor quality snippets from Stack Overflow.
The text was updated successfully, but these errors were encountered: