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

Which is more useful? C++ or Python?

fairly new to coding, want to know which is more useful so i can spend more time working on that language. thanks :)

12th Apr 2018, 8:05 PM
Nut Tub
11 Answers
+ 7
It depends. If you want to have to do a lot of coding and want to make games, do C++. But if you really are a beginner I would suggest to learn Python to start off with.😊
12th Apr 2018, 8:08 PM
Paul Grasser
Paul Grasser - avatar
+ 5
if u want to make your coding part strong then go for c++ and if u want all the stuff and code ready and use it then go python and develop what u want . C ++ need more code to write and phyton need very few for the same. Also it is easy to learn python after c++ I recommend go for c++ first.
13th Apr 2018, 1:07 PM
Rahul Lather
Rahul Lather - avatar
+ 4
If you need good runtime performance or if you need little power consumption (battery operated device) then C++ is more useful. If your performance (how quickly you program) is important then Python is more useful. Personally I use both. Python (or sometimes TCL) for code generation and text parsing and C++ (or C) for embedded software (i.e. software that makes devices useful) and device drivers.
13th Apr 2018, 4:41 PM
Freddy
+ 3
Personally I believe its Python. also see this post https://www.sololearn.com/Discuss/1211742/?ref=app not on usefulness but revealing.
12th Apr 2018, 8:19 PM
Louis
Louis - avatar
+ 3
For me its Python but every programmer is different and some are loyal to their langauges.
13th Apr 2018, 1:00 AM
Anthony Perez
+ 3
If you are a begineer at coding choose Python.In python you dont have to worry much about syntax...because the syntax is pretty simple .Hence you can focus more on logic.Once you are strong with logic you can move to c++ or anyothere language.
14th Apr 2018, 7:43 AM
Mitali
Mitali - avatar
+ 2
C++ is useful in making games whereas python is just simple language and very good for beginners.
13th Apr 2018, 2:32 AM
Manpreet Singh
Manpreet Singh - avatar
+ 2
take python it is an easy to understand language which is used by google, disney, nasa and in artificial intelligence
14th Apr 2018, 4:18 AM
Gaurav
Gaurav - avatar
+ 1
What will you choose to fix something? Hammer or screwdiver? It depends! Same like language you want to learn. Every language has its advantages and disadvantages. It's probably off topic from your question, but if you are really new in coding, I'd like to suggest you to learn javascript. It has a simple syntax, but powerful. Plus, by learning it, you can adapt to other language syntax that you may want to learn next time.
14th Apr 2018, 9:44 AM
Keanu Taufan
Keanu Taufan - avatar
0
I highly advocate for learning C++ as a foundational language as you build towards more languages like py. Reread and implement those hard lines of code till you get it right. Doing other programming languages will be a breeze after that
14th May 2018, 2:51 PM
Benard Omondi
Benard Omondi - avatar
0
If you want to use programming for games, I suggest to use C++. If you want to use programming for tools and many other kind of programming, Python 3 works good for it. Good programming language for beginners: It does not really matter, which programming language you learn first, it is easier to learn any language, after you know important things, that are inside the programming language, for example: strings, functions, methods, integers... . When choosing programming languages: Check the "What is <programming language>?" (Often the first lesson of the programming language) of many different programming languages, list all the interesting programming languages and compare them, if you want, you can even study many different programming languages at a time. My old, stupid expections: I though long, that it could be easier to learn Python before learning C++, because C++ seemed much harder to learn than Python, but C++ isn't really much harder to learn than Python. In C++ it requires much more text to print simple things than Python, but after you know the meaning of all these statements, it is simple to understand.
14th May 2018, 7:38 PM
Seb TheS
Seb TheS - avatar