Quote:Original post by Anonymous Poster
Why would you torture a beginner with STL?
Teaching someone how to use a std::vector can be easier than explaining new/delete, even without trying to teach them RAII. I hardly call that torture. Plus, they won't have so many memory leaks in their programs!! I hardly call that "torture". And I mention boost because of it's format library, the perfect alternative to adding printf functionality to their programs later on.
Quote:The idea of beginning programming is to learn how to program, not how to use blackboxes.
Define a blackbox. I would consider every library known to man a black box of sorts - just as much as a vector at least. With this, I would consider using blackboxes very essential to learning to program anything remotely useful. printf is an even worse blackbox, you have to explain all sorts of mumbo-jumbo assembly, or teach them to use va_*, which is a horrible mis-service to your beginning programmer.