C++ or python..which one is better | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

C++ or python..which one is better

26th Nov 2016, 5:39 PM
RaVVan
RaVVan - avatar
11 Answers
+ 39
It depends on everything, on your development taste, desired salary, what you want to create and etc. But I must say that Python is the future. PS. the real dev doesn't choose between the two, he has to know them both.
26th Nov 2016, 6:53 PM
Evcheto Novakova
Evcheto Novakova - avatar
+ 4
Depends on exactly what you plan to do and what you're proficient in.
26th Nov 2016, 6:29 PM
Dubascudes
Dubascudes - avatar
+ 4
C++ is a compiler language. You need to write whole program before executing it whereas python is interpreter. a single line compiled immediately when writinh in c++ all the header files need to be listed before usage of functions. in puthon you just to need to write the proper syntax of thr function Both languages are similar but python is easier to learn because of easier execution and procedure
26th Nov 2016, 6:46 PM
Abhinav Kumar
Abhinav Kumar - avatar
+ 3
depending on your purpose of coding... Python is best for Linux while C++ is universal. also Python cannot be compiled. will prefer to learn Python first because it's easier than C++
27th Nov 2016, 5:28 PM
SAKET upadhyay
SAKET upadhyay - avatar
+ 3
actually python can be compiled into an exe using py2exe. c++ is primarily used in gaming now days. python is easy to learn, has growing Web frameworks, and is more forgiving. c++ is much faster in execution time but the speed difference isn't noticeable when using it for data analysis or smaller programs. it basically depends on what you want to do. I think the future is Web applications
27th Nov 2016, 8:27 PM
Case
Case - avatar
+ 3
however most of them are good
29th Nov 2016, 9:54 AM
Mossolo Michel Maximilien
Mossolo Michel Maximilien - avatar
+ 2
Hi, personnaly i recommande you python
29th Nov 2016, 9:53 AM
Mossolo Michel Maximilien
Mossolo Michel Maximilien - avatar
+ 1
but the method used by py2exe is not safe .. it just makes the script extract to run.. where as the compilers of C++ code the file into machine language. U cannot easily reverse the compilation of C++ code but can do so in case of Python..
29th Nov 2016, 2:39 AM
SAKET upadhyay
SAKET upadhyay - avatar
0
C++ this is better
29th Nov 2016, 5:28 PM
вαĸя sαєєɒ
вαĸя sαєєɒ - avatar
0
Java is best then compare to both because Evey one isaly understand Java. and more over best in the world
30th Nov 2016, 9:19 AM
Gopi Reddy Tala Tala
Gopi Reddy Tala Tala - avatar
0
From my opinion Python is better
27th Dec 2016, 7:19 PM
Nicolas Baha
Nicolas Baha - avatar