5 ms·
You're not getting the point. He is asking what will be an efficient way to learn to be productive in C++. If he follows your advice, he may be less bug-prone
by aggieben 19y ago
You're not getting the point. He is asking what will be an efficient way to learn to be productive in C++. If he follows your advice, he may be less bug-prone (doubtful, but maybe) in the beginning, but he also won't be learning C++. Instead of learning the ins and outs of a library that he will have to learn to achieve productiveness, he'll be learning the ins and outs of how sloppy your C can be and still get by the compiler, which isn't productive.
If learning C++ is the goal (and he stated it so), then he should use C++, which is how he will get the "sufficient knowledge" you seem to see as a roadblock.
And by the way...it's long since past time that we stopped calling it the STL. It's been a standard for plenty long enough that we should all be calling it the standard library.
- palish 19y agoI don't use a lot of STL, and I'm productive. Neither does John Carmack or John Ratcliff, and the word "productive" doesn't capture just how much they accomplish. I'd like to ask, are you understanding my point? An amount of open-mindedness is required. Common wisdom has been proven incorrect time and time again throughout history, and the common wisdom of C++ that "you need to use STL containers and Boost to be productive" is incorrect. Pierre can illustrate some of the issues more succinctly than I: http://72.14.205.104/search?q=cache:UV4RcASt8mMJ:www.codercorner.com/blog/%3Fp%3D25+site:codercorner.com/blog+standard&hl=en&ct=clnk&cd=3&gl=us http://72.14.205.104/search?q=cache:UV4RcASt8mMJ:www.coderco...
- nuggien 19y agoYou are trying too hard to make a point that people don't agree with. You don't need STL/Boost to be a productive c++ programmer. That's fine, no arguments there. But you don't have to avoid STL/Boost in order to be a productive/efficient c++ programmer either. Get over it.
- scott_s 19y agoQuoting Stroustrup from his 2007 History of Programming Languages paper: 'Alex named his containers, iterators, and algorithm library “the STL”. Usually, that’s considered an acronym for “Standard Template Library”. However, the library existed —with that name—long before it was any kind of standard and most parts of the standard library rely on templates. Wits have suggested “STepanov and Lee” as an alternative explanation, but let’s give Alex the final word: “ ‘STL’ stands for ‘STL’ ”. As in many other cases, an acronym has taken on a life of its own.' http://www.research.att.com/~bs/hopl-almost-final.pdf http://www.research.att.com/~bs/hopl-almost-final.pdf