+ 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 :)
11 Respuestas
+ 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.😊
+ 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.
+ 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.
+ 3
Personally I believe its Python.
also see this post
https://www.sololearn.com/Discuss/1211742/?ref=app
not on usefulness but revealing.
+ 3
For me its Python but every programmer is different and some are loyal to their langauges.
+ 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.
+ 2
C++ is useful in making games whereas python is just simple language and very good for beginners.
+ 2
take python it is an easy to understand language which is used by google, disney, nasa and in artificial intelligence
+ 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.
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
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.