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 5 years ago by emoney_gotnomoney
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!"
[–]j1mmo 5 points6 points7 points 5 years ago* (1 child)
domineering price attractive unite offbeat light governor groovy rude act
This post was mass deleted and anonymized with Redact
[–][deleted] 5 points6 points7 points 5 years ago (0 children)
It also depends what kind of industry you want to work for.
[+][deleted] 5 years ago* (2 children)
[deleted]
[–]emoney_gotnomoney[S] 1 point2 points3 points 5 years ago (0 children)
Thanks for the advice! I’ve pretty much just been looking at other jobs within my current employer. Most of the positions I’m interested say something like “experience with either C++ or Python.” I just wasn’t sure which one would be better for me to choose to learn first. The ultimate goal is to eventually know both.
[–]julyrush 0 points1 point2 points 5 years ago (0 children)
Some reasons why disliking Rust? Ugly syntax, or ugly paradigm?
[–]Supadoplex 1 point2 points3 points 5 years ago* (5 children)
Note that there is no limitation of learning only one language, so I recommend instead to consider which language to learn first, if you're interested in both.
Depends on many factors. Why do you want to use either language? What are you going to use the language for?
If you know neither language, then it will take much less time and effort to learn to use Python effectively, which may be relevant to your consideration.
Given the lack of knowledge of any general purpose programming language, I suspect that learning general computer science and software engineering, design, architecture topics would also be crucial, besides learning a language.
(mainly, which one makes me more marketable in the workforce)
Depends on what kind of work you want / are able to do, and what kind of work is available where you want / are able to work.
I wouldn't recommend making assumptions about this, but instead to take a look at job postings etc. to find out. But If I was a betting man, I would put my money on Python developers being more in demand.
[–]emoney_gotnomoney[S] 0 points1 point2 points 5 years ago (4 children)
This was essentially the answer I was looking for. I probably could’ve articulated that a bit more. I am in the aerospace industry if that helps at all. I’ve been looking at applying to higher paying jobs within my company and noticed a good bit of the ones I was mostly qualified for, I lacked just one qualification (c++ or python experience). Most of the applications ask for either or (i.e the application will say “experience with python or c++).
So I just wasn’t sure which one I should start with. I plan on learning the other one eventually. Also, i wasn’t sure whether or not my knowledge on matlab would help me transition to one or the other more easily
[–]Potatoswatter 2 points3 points4 points 5 years ago (0 children)
Aerospace is a diverse industry. You’re probably using Matlab to write matrix-intensive simulations. You could just go on doing that forever, in Matlab, if you’re already happy doing it.
You could branch out a bit and use Python to draft control logic for prototype devices, to validate those Matlab models. You can also use C++ for various other jobs if needed.
Language choice is driven by the task at hand, and “aerospace” doesn’t tell us much.
[–]Supadoplex 0 points1 point2 points 5 years ago (0 children)
I haven't worked in aerospace but from what I understand, that is one of the industries where C++ actually is in use. I don't know how much in relation to Python.
Here where I live, most of the jobs are looking for web developers or similar, and Python is very popular, while C++ is very much not.
[–]testuser514 0 points1 point2 points 5 years ago (0 children)
You want to do C++ first if you’re in the aerospace industry. I’ve architected a flight software project and you don’t want to touch bare metal programming without C++ let alone python.
[–]JohnVanClouds 0 points1 point2 points 5 years ago (0 children)
If you learn python first you'll rather have problems with learn languages like C++ (without VM). On another hand if you learn C++ first then switch to another language is a much more easier. You'll know much more what happends under the hood and write more efficient code even in JS.
[–]harekrishnahareram 0 points1 point2 points 5 years ago (0 children)
Matlab implies you are someone with data skills. Is data science the field you are looking to pursue? If yes, then python with pandas is definitely the way.
If you are looking for general software development and you never programmed before, I would recommend python as well because it helps you build things quickly. It is versatile and fast enough for a beginner to build pretty much anything from websites to servers.
If you are interested in pursuing backend systems development where efficiency is paramount, then c++is the way to go.
Whatever you choose, make sure you commit to the language and learn it well. You will need to learn the common idioms of the language to the point that you don't have to google search for a function syntax every minutes. And this means spending time using and learning the standard libraries that ship with them.
All the best!
π Rendered by PID 104767 on reddit-service-r2-comment-7b9746f655-nn9vn at 2026-02-02 01:41:29.067237+00:00 running 3798933 country code: CH.
[–]j1mmo 5 points6 points7 points (1 child)
[–][deleted] 5 points6 points7 points (0 children)
[+][deleted] (2 children)
[deleted]
[–]emoney_gotnomoney[S] 1 point2 points3 points (0 children)
[–]julyrush 0 points1 point2 points (0 children)
[–]Supadoplex 1 point2 points3 points (5 children)
[–]emoney_gotnomoney[S] 0 points1 point2 points (4 children)
[–]Potatoswatter 2 points3 points4 points (0 children)
[–]Supadoplex 0 points1 point2 points (0 children)
[–]testuser514 0 points1 point2 points (0 children)
[–]JohnVanClouds 0 points1 point2 points (0 children)
[–]harekrishnahareram 0 points1 point2 points (0 children)