Question:
think I should learn to program in python before C++?
Curtis
2014-10-18 17:06:20 UTC
I am learning Python and am thinking to go straight to learning C++ afterwards. I know C++ is harder and will take longer to learn but am wanting to know if knowing python before C++ will give me a better handle on learning C++? or are they totally foreign to each other?
Five answers:
2014-10-19 19:30:53 UTC
Yes, python would be a good predecessor to C++, to help you understand the logical structure and object-oriented languages. Better yet, learn python and then learn Java, which is essentially C++ 2.0
justme
2014-10-19 07:02:07 UTC
The first language you study is ALWAYS the hardest to learn because you have to do more than just learn the syntax, you have to learn how to write logical code. So, yes, learning python will help you to learn C++ somewhat. Not the syntax or anything but how to write logical code.



What languages you learn depends on what you want to do with them, so should you switch to C++? What is your goal?
CJ
2014-10-18 17:13:56 UTC
They are very different. If you have the programming logic basics down then go straight for c++. c++ is more structured and a bit harder but if you aren't planning on using python then it may be a waste of time
P C
2014-10-18 17:42:45 UTC
Like what CJ said. If you know basics start with C++, but if you're a newbie go with Python.
Tasm
2014-10-19 04:29:01 UTC
The better question is why are you learning to program? If you want to build websites, then c++ is not the best option.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...