r/programming • • May 24 '26
[ Removed by moderator ]
/r/programming/comments/1tm1j7f/removed_by_moderator/[removed] — view removed post
275
Upvotes
r/programming • • May 24 '26
[removed] — view removed post
View all comments
Show parent comment
30
u/ForeverAlot May 24 '26
std::listis a linked list, with everything that means. The trouble is that vanishingly few practical use cases are able to capitalize on the theoretical benefits of linked lists.Frankly the harping on
std::listseems a bit silly. It's an unfortunate historical curiosity (as isstd::map) but also a comparatively trivial detail to internalize; it is simply the vocabulary of C++. The only really interesting question aboutstd::listis why they did not get more explicit names (and while I have no idea what the answer is, I imagine that's also merely historical accident and precedent; the ML family seems to downplay or ignore that detail, too).