+ 2

Which is better for OOP to learn- C++ or Python?

I have a very basic knowledge of C language. I want to learn Object Oriented Programming. Should I start with C++ or Python for that?

25th Feb 2018, 11:17 AM
soumyadeep naskar
soumyadeep naskar - avatar
5 Answers
+ 6
With "start" you are implying that you want to learn both of them. I would say go for c++ first. Learning python after c++ will be easier than switching from python to c++.
25th Feb 2018, 11:43 AM
Alex
Alex - avatar
+ 6
I've never really liked OOP in Python. Go for C++.
25th Feb 2018, 11:59 AM
Chris
Chris - avatar
+ 5
In terms of the concepts/understanding I think it's easier to start with python, but since you know C already it might be worthwhile to use C++ instead and I agree with @Alex that it is easier to go from c++ to python compared with the other way round. I program in C++/C and python and my impression is that I arrive at the implementation of a program much faster with python than with C++. python is written much more close to how we think. But then when it comes to how fast your code is, C++ outruns python. So if you have a project in mind already you can consider this.
25th Feb 2018, 12:08 PM
imi
+ 1
Go for CPP!
25th Feb 2018, 12:29 PM
Naveen Maurya
Naveen Maurya - avatar