Hacker News new | ask | show | jobs
by bff 5721 days ago
I feel compelled to disagree with people who insult C++ for the fun of it. In response to what you said, the STL is optimized and fast. You shouldn't be using that many smart pointers because allocating memory on the heap is usually not the best solution. If all you want is perl regex then you're right, perl would be the better choice.
1 comments

What I'm saying is that people who are bad at C++ get all of the bad parts (memory allocation hell) but none of the good parts (supar speeeeeed). Since most people are bad at programming, it confuses me why they want to use a tool that makes them look bad when they could trade a little theoretical speed for a program that actually runs.

Wait, I answered my own question.