getting weird pointer behavior with slices in go vs java
so i'm refactoring a service from java to go and keep tripping over slice headers. if i pass a slice to a function, append to it, and the capacity is exceeded, the backing array gets reallocated but the caller doesn't see it? in java list refs feel way more consistent. am i just…
See more →

