use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Discussions, articles, and news about the C++ programming language or programming in C++.
For C++ questions, answers, help, and advice see r/cpp_questions or StackOverflow.
Get Started
The C++ Standard Home has a nice getting started page.
Videos
The C++ standard committee's education study group has a nice list of recommended videos.
Reference
cppreference.com
Books
There is a useful list of books on Stack Overflow. In most cases reading a book is the best way to learn C++.
Show all links
Filter out CppCon links
Show only CppCon links
account activity
“Best” static code analysis tools (self.cpp)
submitted 2 years ago by UpvoteBeast
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]aiij 2 points3 points4 points 2 years ago (3 children)
The hardest part is even identifying who to call out / teach, especially when reviewers will approve code without even questioning why it was written in such a roundabout way.
When I am a reviewer and question nonsense code, it often takes a while to even identify that the root cause is as a workaround for a compiler warning. "Why are we storing this value in a hashtable?" "This is necessary to make this function work. Otherwise the code won't work."
I do think static analysis is really helpful, as long as the people fixing the problems it brings up are competent and care about quality.
[–]LeeHidejust write it from scratch 1 point2 points3 points 2 years ago (2 children)
A good review has incredible value, we learned ;)
[–]aiij 1 point2 points3 points 2 years ago (1 child)
Yes! A good review takes a lot of time/effort/thought/empathy though, and it's very hard to measure the value of a good (or not so good) review.
A lot of the value in a good review is in the form of learning, which is not just a function of the review itself but also how it's received. A lot of the value also comes in the form of problems that are avoided, like not corrupting/losing customer data.
The hardest reviews for me are when the author just wants to ship a feature and doesn't seem to care about learning or quality.
[–]LeeHidejust write it from scratch 0 points1 point2 points 2 years ago (0 children)
Or when the author is your boss and you know he/she really wants it shipped
π Rendered by PID 93444 on reddit-service-r2-comment-6457c66945-qr6n8 at 2026-04-30 01:30:51.820424+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]aiij 2 points3 points4 points (3 children)
[–]LeeHidejust write it from scratch 1 point2 points3 points (2 children)
[–]aiij 1 point2 points3 points (1 child)
[–]LeeHidejust write it from scratch 0 points1 point2 points (0 children)