Lurker News
In the recent years C++ received a lot of backlash due to its complexity and (perceived) feature creep. However, since C++11 I really enjoyed writing C++ with its strict type system (including const), range-based for loops, smart pointers, and how much you can do with templates. On the other hand, I know that it can be very tricky to write, for instance, a correct iterator, to get handling of rvalue references right, or to read error messages that involve templates.

So, do you enjoy or dislike writing C++ source code and why?

Comments (93) 66 threads

Show all comments

Showing thread 9 of 66

egorfine2 replies#
There is C++ and then there is C++. Totally different things.

One I enjoy programming. Another I dread.

nottorp#
That's the real answer. Which C++?

I'm beginning to believe that some of the Rust evangelists are there just because they'd rather write code in anything but C++...

iExploder3 replies#
I know exactly what you mean. But I would even say there are more C++'s than just two.

"C++, but codebase is 20 years old"
"C++, but we ban or dont like most of C++ features"
"C++, but everything must be a template"
"C++, but codebase is completely new and we only use the new features"
"C++, but its the stl codebase"
"C++, but you are reading Stroustrup's book"

egorfine#
omg that hurts
thisismyanon21 reply#
HP or SGI STL?
sageserpent#
Ha, no - Rogue Wave!
mhelfd#
I think these are the legit version names :)