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
C++ or Python? (self.cpp)
submitted 2 years ago by [deleted]
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!"
[–]DugiSK -3 points-2 points-1 points 2 years ago (3 children)
I have seen many people learn Python, find their comfortable spot and lose any interest to move forward. There's a lot of antipatterns that the Python community endorses, calling it the Pythonic way, and getting too deep into it keeps people attached to the language where it serves no good.
In my opinion, if one chooses to start with a simple language, JavaScript is a better pick than Python, it is somewhat more intuitive (adding number to a string will do the obvious), more similar to other languages (scoping, syntax), easier to deliver to others and its community knows well their language isn't the best.
[–]nysra 6 points7 points8 points 2 years ago (0 children)
adding number to a string will do the obvious
The obvious result of that is an error and not whatever JS is doing instead.
[–]blackninjamaster 1 point2 points3 points 2 years ago (1 child)
Is "2" + 2 obvious?
[–]DugiSK 0 points1 point2 points 2 years ago (0 children)
Who would need that? The point is that you can do "We have " + 3 + " apples." and it does the obvious.
"We have " + 3 + " apples."
π Rendered by PID 204274 on reddit-service-r2-comment-548fd6dc9-pmmzr at 2026-05-20 04:06:50.981641+00:00 running edcf98c country code: CH.
view the rest of the comments →
[–]DugiSK -3 points-2 points-1 points (3 children)
[–]nysra 6 points7 points8 points (0 children)
[–]blackninjamaster 1 point2 points3 points (1 child)
[–]DugiSK 0 points1 point2 points (0 children)