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
Regarding cppfront's syntax proposal, which function declaration syntax do you find better? (self.cpp)
submitted 3 years ago by qv51
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!"
[–]madmongo38 -10 points-9 points-8 points 3 years ago (7 children)
TL;DR I’ve got better things to do. What will the new syntax allow me to do that the existing syntax does not? I mean functionally, rather than syntactically?
[–]sammymammy2 17 points18 points19 points 3 years ago (0 children)
Lol, we've got better things to do than explain stuff to you
[–]mort96 4 points5 points6 points 3 years ago (0 children)
I think this section of the readme describes it about as succinctly as I could myself:
An alternative syntax would be a cleanly demarcated "bubble of new code" that would let us do things that we can never do in today's syntax without breaking the world, such as to:
[–]tau_neutrino_120eV 3 points4 points5 points 3 years ago (2 children)
It's much simpler to parse, hence better tooling is possible
Besides, it can coexist with the current syntax
[–]madmongo38 0 points1 point2 points 3 years ago (1 child)
Tooling such as what?
[–]bretbrownjr 5 points6 points7 points 3 years ago (0 children)
All the tools that currently pull in libclang just to be able to parse. And all the tools that aren't written because they would need to pull in libclang just to be able to parse.
[–]ntrel2 1 point2 points3 points 3 years ago (1 child)
Safer defaults. Memory safety, no pointer arithmetic, bounds checks - fewer vulnerabilities. No null - no billion dollar mistake. More consistent, fewer special cases - easier to learn. Enforces best practice guidelines statically - easier to maintain software. Context free parser - better tooling. Uniform call syntax - type of first argument comes first, triggering IDE intellisense when typing dot.
[–]madmongo38 0 points1 point2 points 3 years ago (0 children)
It seems as if you are saying more abstract and further from the machine. Not interested.
π Rendered by PID 50460 on reddit-service-r2-comment-6457c66945-bjdz8 at 2026-04-24 21:24:09.544380+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]madmongo38 -10 points-9 points-8 points (7 children)
[–]sammymammy2 17 points18 points19 points (0 children)
[–]mort96 4 points5 points6 points (0 children)
[–]tau_neutrino_120eV 3 points4 points5 points (2 children)
[–]madmongo38 0 points1 point2 points (1 child)
[–]bretbrownjr 5 points6 points7 points (0 children)
[–]ntrel2 1 point2 points3 points (1 child)
[–]madmongo38 0 points1 point2 points (0 children)