Y
Hacker News
new
|
ask
|
show
|
jobs
by
sa46
1189 days ago
Erroring on appending to a slice would require checking every call to append for an error. I'd find it more surprising for append to error on resize since append implies a growable array.