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

Earlier comments
i_am_a_peasant#
Yes, but I feel reticent nowadays in voicing out loud why exactly I like it (along with liking Rust). Because I don't want to give up my business ideas for free.
ChrisRR#
My day job is writing in C, so I love C++ on the rare occasion I get to use it.

Classes and smart pointers make some things so much easier that would take an age in C

tonyedgecombe#
>Do you still enjoy coding in C++?

No, I migrated away from it in 2014 and it was one of the better decisions I made in my business. Productivity and quality went up.

logicchains#
I like writing in C++ because Claude does most of the work and if I structure the source well it compiles much faster than my Rust code.

Load more comments