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

C++ vs Python

Why do people constantly write that Python is easier than C++? I've been learning the C++ language, it was interesting and nice to learn. Now I don't feel the same with Python. Syntax seems clearer and compact, but it's not easier than C++ as for me

13th Dec 2016, 9:30 PM
Julia Melnik
Julia Melnik - avatar
2 Answers
+ 6
I think a programmer will need less time and less lines to develop a code with python than with c++, if one knows both capabilities. During the python course you'll see that there are built-in resources you even imagine how you could apply with c++. For instance, you don't need to worry about declaration of variables, size of arrays and type of their content, creation of templates, use of pointers, addresses. You have sets and dictionaries. You can edit functions using a same pattern with functional concept. You don't need to take into concern the type of the function either... With Python you can use an interpreter which allows you a faster way to make tests in your code. You don't need to compile it. Please, don't get me wrong. I won't say python is better than c++. Instead, I'm trying to convince you that python is easier. C++ still has its advantages: it is useful for manipulating memory manually and hpc (high-performance computing).
13th Dec 2016, 11:39 PM
Adriano Armani
Adriano Armani - avatar
+ 3
i personally think that c++ code is more organized..so maybe cause of that when you transferd from organization to entropy...it might be a bit weird
13th Dec 2016, 10:13 PM
Leonida17st
Leonida17st - avatar