[ prog / sol / mona ]

prog


Go(lang) Thread

14 2020-01-15 00:24

I like the syntax and the standard library but I hate messing with slices. You need to do the following to add an item to a slice:

a = append(a, item)

But when it comes to removing an item there's no

remove(a, index)

to remove an item.

25


VIP:

do not edit these