4 ms·
I agree that push_back/pop_back is a bit clunky, but I've gotten used to it tbh. What I haven't gotten used to is the terms "shift" and "unshift" from other la
by mort96 2y ago
I agree that push_back/pop_back is a bit clunky, but I've gotten used to it tbh.
What I haven't gotten used to is the terms "shift" and "unshift" from other languages. But I never get confused by C++'s push_front/pop_front.
And I think the consistency has some value. Is it enough value to warrant the extra verbosity? Meh, I think it's more or less a wash.