3 ms·
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 appen
by sa46 4y 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.