Hacker News new | ask | show | jobs
by NateDad 2577 days ago

    names = append(names, "Bob")
.... that's really it. Will it have the same backing array as it did before you did append? Maybe, maybe not. Should you care? Absolutely not, and if you do, you're probably doing something wrong.
1 comments

Sometimes you need to care!

https://play.golang.org/p/goL1JtapY7q