C++ or Python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 64

C++ or Python?

So I started learning c++ (my 1st programming language BTW) some few weeks ago and I got a bit lost and then I came across a group of programmers who recommended that I learn python rather cus that's what's widely used atm and it's a bit easier to understand. Who's got this experience before? Care to share?

16th Nov 2017, 11:29 PM
Emmanuel Garbrah
Emmanuel Garbrah - avatar
232 Answers
17th Nov 2017, 4:20 PM
Shubham Pratap Singh
Shubham Pratap Singh - avatar
+ 54
I’d say do whichever one you are most comfortable with, I️ hear mostly that people who are newer to programming typically choose the Python route due to easier to understand language. Me on the other hand I️ started out at a University learning c++ so that has always been my best understanding. Just choose what makes you happy and determined.
16th Nov 2017, 11:38 PM
Devin Wooten
Devin Wooten - avatar
+ 44
Java 🥇🎂 c++ 🥈🍰 Python 🥉🍒 🤗
18th Nov 2017, 3:28 AM
NimWing Yuan
NimWing Yuan - avatar
+ 42
c++ is always the best beginner programming.i have reason for this that is.....the most important for coding is algorithm....many basic algorithm will be skipped by some inbuilt functions in python as well as ruby.so,that u lag in writing algorithms...but c++....99% of cases algorithm with specific syntax is our code... remember,if u lag in writing algorithms many advanced concepts like datastructures you cannot learn.so,start with c++..
18th Nov 2017, 1:56 AM
SAKSHI
SAKSHI - avatar
+ 37
they are very different languages. Actually you cannot compare these two. But, as an answer, C++ for me.
18th Nov 2017, 7:21 AM
Ghena Ramascan
Ghena Ramascan - avatar
+ 20
I love python, but if you are limiting yourself to 1 language, you should choose it based on what you intend to do. what are your goals in your programming adventures?
16th Nov 2017, 11:39 PM
LordHill
LordHill - avatar
+ 19
Eagleyez, Earlier you wrote: "Actually I don't wanna learn so many programming languages. What I wanna do is to develop standard phone/web apps let's say next year by this time. So that's my aim." const int MOBILE_APP_DEV = 1; int main() { int goal = MOBILE_APP_DEV; If (goal == MOBILE_APP_DEV ) { cout << "Java for mobile applications"; } else { cout << "Javascript, HTML, CSS and (most likely) SQL for web development."; } }
18th Nov 2017, 5:16 PM
Michael Loutris
Michael Loutris - avatar
+ 18
python is more suitable for newbies
20th Nov 2017, 7:47 PM
\__(° = °)__/
+ 16
If you want a long term career in computer science, then I think it is important to gain a solid foundation in data structure, algorithm design and object orientated programming. It is worth studying C++ despite it being a more challenging language to learn. On the other hand, if you want to quickly launch a project in web or data analytics, you should select Python since the syntax is easy to grasp, and lots of support from 3rd party systems ( API, libraries ) While we are on this thread, if you are leaning towards the 1st option, I would recommend Java instead of C++ due to a better language specification. Additionally, with Java, you should be well equipped to progress into a more commercial environment such as Android ( java ), IOS ( Objective C & Swift ), Web Programming ( Java 2, J2EE )
20th Nov 2017, 6:09 AM
Ashwin Jadhav
Ashwin Jadhav - avatar
+ 11
well they are both giant languages,and I really don't believe one outbetters the other ,but the truth be told,python is more widely used than c++!But it's your personal will to decide which language you love better😇
17th Nov 2017, 1:43 PM
᠌᠌Brains[Abidemi]
᠌᠌Brains[Abidemi] - avatar
+ 11
don't get confused go for c++ first and then go for python as c++ will build a base for you to learn all the programming languages u want to learn in future.....and then if you want build some beast programs then go for java or python.....go for c++ if u r a total beginner....
19th Nov 2017, 4:03 AM
Sanika Awasthi
Sanika Awasthi - avatar
+ 10
I started off with python at a university then learned C++ . Python is an easier base to understanding C++. It help me transition from simplicity of Python coding to complexity of coding with abstraction of C++.
17th Nov 2017, 1:38 PM
Bunny Cheng
Bunny Cheng - avatar
+ 9
I picked Python, just for the simplicity of it. Your first programming language will be the one that teaches you a basic understanding that can be used to learn nearly any programming language. Just pick the one you're the most comfortable with and don't commit yourself to one programming language like @Joker mentioned.
17th Nov 2017, 8:33 AM
Michael
+ 9
I love c++ becoz it is a basic of object and class how toh declare and create a program if you know the c++ then it becomes more easily to understand other Language
17th Nov 2017, 2:42 PM
Shivani
Shivani - avatar
+ 8
@joker Actually I don't wanna learn so many programming languages. What I wanna do is to develop standard phone/web apps let's say next year by this time. So that's my aim.
17th Nov 2017, 6:55 AM
Emmanuel Garbrah
Emmanuel Garbrah - avatar
+ 8
I like the variety of thoughts and views. I've picked what I want thx for y'all input...
17th Nov 2017, 3:33 PM
Emmanuel Garbrah
Emmanuel Garbrah - avatar
+ 8
1. In Principle, C++ is a "statically typed" language, while Python is a "dynamically typed" language. 2. In Practice, C++ is "faster" than Python, C++ is typically a "compiled" language while Python is typically "interpreted" language. 3. Python is more concise than C++, Smaller code size for the same task leads to "rapid prototyping" and this is partly why one would use something like Python when speed of development is important.
17th Nov 2017, 8:30 PM
Nanda Rizki Nasution
Nanda Rizki Nasution - avatar
+ 7
Of course c++, because java,c# and many more languages are descendant of c. And in future it will be easy to move on other c family languages.
18th Nov 2017, 2:12 PM
Bhavin Kundaliya
Bhavin Kundaliya - avatar
+ 7
C+++
9th Mar 2020, 6:25 AM
Night Fury🔥<adrina>
Night Fury🔥<adrina> - avatar