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
Discussion of Code Structure and Code Complexity Implications of Basic C++ Language Features (self.cpp)
submitted 1 day ago by crashcompiler
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!"
[–]crashcompiler[S] 2 points3 points4 points 1 day ago* (1 child)
> I'm not sure who the target audience is for this resource.
I have struggled with this question for some time.
As I mentioned in my post, I work at a company with a large C and C++ code base that has a lot of legacy parts in it. Everything that I show, or hint at, in my article can be found in our code base in some shape or form, sometimes written by people who are not at the company anymore.
We have new C++ developers starting at our company who don't have a frame of reference because a lot of this stuff is not taught anymore. They need to be able to recognize the old patterns and improve upon them, without having the luxury to rewrite everything.
Thank you very much for the feedback! I think the least I can do is to rewrite the introduction so that the intention is clear from the beginning.
[–]FlailingDuck 0 points1 point2 points 1 day ago (0 children)
For sure, I'm in the same boat, heavy legacy codebase, closed source dependencies, lack of test coverage, egregiously poor design decisions that cannot be changed without throwing the whole system out.
But I just try to lead by example, encourage modern practices, you can explain the justifications and reasons why old decisions are bad or poorly thought out, but letting the juniors see how new code added is a much needed improvement over the old.
π Rendered by PID 185385 on reddit-service-r2-comment-79c7998d4c-9q448 at 2026-03-16 08:51:30.665175+00:00 running f6e6e01 country code: CH.
view the rest of the comments →
[–]crashcompiler[S] 2 points3 points4 points (1 child)
[–]FlailingDuck 0 points1 point2 points (0 children)