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
ToyKeeper#
I like C. C is great.

When things get too complex for C, that's where C++ should be used... but I'd generally rather use something else instead. A lot of languages have been created to avoid using C++. Take your pick.

jjav#
I first met C++ in 1992 and hated it. Still do. I'm mostly ok using any language, but C++ and scala are the two that I hate. Both for the same reason, the incredibly baroque overcomplexity.
Ikersl#
I think its pretty good, but for vibe-coding i would use rust, because it's much much faster. And for coding small stuff i would choose Python so its like in the middle kinda
saagarjha#
Whenever I write C++ that isn’t, like, pure algorithms I usually find myself wishing I had a nicer language where I could represent what I wanted in a clearer way.

Load more comments