Stop suggesting STL please
-
One of my pet peeves at the moment is seeing someone ask a question about a memory leak or other C/C++ question and 90% of the replies being: "Use STL", "Use a vector", "You should really use the STL string class" etc.. etc.. Could everyone please stop suggesting such rubbish!!?? Yes, STL has its place and it's good to use it. But suggesting it as a solution to every C/C++ problem is like suggesting that someone buys a new car when they need to do an oil change on their current car. If I ask for advice on delete[], complex character arrays or any other question not related to STL, please spare me the bulls$#t of telling me about STL. Thanks.
Hear, hear. Clearly people should be telling you to use Managed C++ instead. :-D cheers, Chris Maunder
-
One of my pet peeves at the moment is seeing someone ask a question about a memory leak or other C/C++ question and 90% of the replies being: "Use STL", "Use a vector", "You should really use the STL string class" etc.. etc.. Could everyone please stop suggesting such rubbish!!?? Yes, STL has its place and it's good to use it. But suggesting it as a solution to every C/C++ problem is like suggesting that someone buys a new car when they need to do an oil change on their current car. If I ask for advice on delete[], complex character arrays or any other question not related to STL, please spare me the bulls$#t of telling me about STL. Thanks.
-
Cool - seeing as I hardly post here anymore, I'm glad that others are helping people learn what C++ is, so they stop using C memory management and ugly Microsoft containers. Yes, there is a time for C style memory usage, for example where performance really matters, but if you're smart enough to know that is the case, you should say so in your question, because a lot of people are plain stupid, or ignorant, or both, and have no idea the STL is even there. Apart from that, if you don't like the answers you get for free, stop asking questions. Christian NO MATTER HOW MUCH BIG IS THE WORD SIZE ,THE DATA MUCT BE TRANSPORTED INTO THE CPU. - Vinod Sharma Anonymous wrote: OK. I read a c++ book. Or...a bit of it anyway. I'm sick of that evil looking console window. I think you are a good candidate for Visual Basic. - Nemanja Trifunovic
Christian Graus wrote: because a lot of people are plain stupid, or ignorant, or both, and have no idea the STL is even there On the other hand, suggesting STL to people who are plain stupid or ignorant does not demonstrate any intellegience either. ;P
-
Hear, hear. Clearly people should be telling you to use Managed C++ instead. :-D cheers, Chris Maunder
Chris Maunder wrote: Clearly people should be telling you to use Managed C++ instead. Now all we need is STL to solve the new problems caused by MC++. ;)
-
Reinout Hillmann wrote: Could everyone please stop suggesting such rubbish!!?? I think you're problem can be solved with STL. Marc Every line of code is a liability - Taka Muraoka
A doable project is one that is small enough to be done quickly and big enough to be interesting - Ken Orr
Latest AAL Article My blogMarc Clifton wrote: I think you're problem can be solved with STL. Marc Every line of code is a liability - Taka Muraoka STL, a liability factory :)
-
Marc Clifton wrote: I think you're problem can be solved with STL. Marc Every line of code is a liability - Taka Muraoka STL, a liability factory :)
Anonymously wrote: STL, a liability factory Ain't that the truth. I've seen STL soooo abused. Vectors within maps within vectors. And with a little thought, the whole thing could have been simplified to a list of structs. Marc Every line of code is a liability - Taka Muraoka
A doable project is one that is small enough to be done quickly and big enough to be interesting - Ken Orr
Latest AAL Article My blog -
Hear, hear. Clearly people should be telling you to use Managed C++ instead. :-D cheers, Chris Maunder
You've been assimilated into the Collective, haven't you?
Software Zen:
delete this;
-
You've been assimilated into the Collective, haven't you?
Software Zen:
delete this;
I have drunk the cool-aid and found it wan and bitter. cheers, Chris Maunder
-
Christian Graus wrote: because a lot of people are plain stupid, or ignorant, or both, and have no idea the STL is even there On the other hand, suggesting STL to people who are plain stupid or ignorant does not demonstrate any intellegience either. ;P
I can see why you'd post this anonymously. Christian NO MATTER HOW MUCH BIG IS THE WORD SIZE ,THE DATA MUCT BE TRANSPORTED INTO THE CPU. - Vinod Sharma Anonymous wrote: OK. I read a c++ book. Or...a bit of it anyway. I'm sick of that evil looking console window. I think you are a good candidate for Visual Basic. - Nemanja Trifunovic
-
I have drunk the cool-aid and found it wan and bitter. cheers, Chris Maunder
I have no idea what this means, but I love it. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder