News for hackers. Stuff that matters.
Re:Don’t blindly prefer emplace_back to push_back by dmurray on Thursday March 04, 2021 @06:33AM (#26341145)
Everyone would probably agree it's good to teach trees in a CS data structures class. Linked lists make a nice introduction to this: what is a linked list except a tree with max branching factor 1? So you teach LLs on day one, and introduce in the simplest useful way the idea of a recursive data structure.

There are no comments on this comment yet.