Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
a-nom-a-ly
on May 16, 2015
|
parent
|
context
|
favorite
| on:
Go: A Surprising Edge Case Concerning Append and S...
I'm not sure what you're trying to say. This is, IMO, nothing more than a lack of understanding. Is the result of `a := make([]struct{}, 0, 1); b := a; b = append(b, struct{}{}); println(len(a), len(b))` also surprising?
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: