python feels just like c++ but easier is it true they are similar? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

python feels just like c++ but easier is it true they are similar?

python is shorter in my opinion and c++ is a little longer and more complicated.

10th Jul 2016, 3:21 AM
AsianZomb SKO
AsianZomb SKO - avatar
3 Answers
+ 2
yes and no : - yes because every language share the same concepts (functions, loops, if/else...). furthermore python and C++ are both OOP, so they have many in common. - no because python's syntax is very particular (no explicit end of block, using indentation as syntax...). Also C/C++ are compiled and python is interpreted...
10th Jul 2016, 5:58 AM
samuel delepoulle
samuel delepoulle - avatar
+ 1
Try sending a function as an argument to another function in C++ and see how it goes.... The more you go deep into python, the more you start to see the differences.
10th Jul 2016, 9:01 PM
Varun Sharma
Varun Sharma - avatar
0
thx!
10th Jul 2016, 6:09 AM
AsianZomb SKO
AsianZomb SKO - avatar