>>59The main problem with abstractions like vectors is that it makes programmers forget (or ever learn) about resizing, and doing so can be slow since it involves copying all the elements. Thus you end up with code that despite knowing the final length, appends elements to a vector individually, possibly causing resizes, instead of sizing and allocating once and then reading all the elements in. Having to think about realloc() means you're more likely to write your code such that you can avoid it, rather than just doing
v.push_back(e);
all the time.
I see the latter (anti-)pattern in code a lot. It's disgusting.