Twelve Years of Service
Posts: 1,012
Threads: 41
Points: 0NSP
What should i learn? 07-26-2011, 11:51 AM
#1
Hey,
I am wondering what would come in more handy, Python or C or C++.
I have done some Python programming, although I would like to know which one would come in the most handy?
•
Twelve Years of Service
Posts: 171
Threads: 13
Points: 0NSP
RE: What should i learn? 08-02-2011, 07:07 AM
#7
just for info: cplusplus.com for learning c++
•
Twelve Years of Service
Posts: 71
Threads: 12
Points: 6NSP
RE: What should i learn? 08-02-2011, 07:09 AM
#8
Learn C++! It's the best IMO
•
Twelve Years of Service
Posts: 1,012
Threads: 41
Points: 0NSP
RE: What should i learn? 08-02-2011, 07:20 AM
#9
Thanks for da advice, will start learning it soon. Thanks
•
Twelve Years of Service
Posts: 721
Threads: 49
Points: 0NSP
RE: What should i learn? 08-04-2011, 03:43 PM
#10
If you learn C++, you'll basically also learn C, because it's a subset of C++.
Generally C++ is like C extended with object oriented programming, though there are also some subtle differences in the C subset of the C++, but nothing major. This also makes C++ backwards compatible: most C programs are also valid C++ programs.
If you're interested about reverse engineering and disassembling, then pure C might be easier because of less bloat. Also C still might be preferred when programming some embedded devices with very limited resources, but I guess you're going to program PC's. And like I said, if you learn C++, you'll also know C's syntax (because it's part of C++) so it won't be a problem in the future.
It's very powerful general purpose programming language, that's closer to the machine code than many other high level programming languages, but that also makes it more difficult to master and more error/bug-prone, but again, gives you a lot of power over your program and high performance.
Python might be more useful for beginners and smaller projects, because it's easier to use and its syntax enforces good code indentation which increases readability of the code, while in C/C++ code indentation and organization is purely optional.
It's also good to learn both languages (though probably one at the time), but once you know one of them, you can adopt the other one much faster, because you'll find a lot of constructs familiar (I'm not sure now if you already know some programming language).
I love creativity and creating, I love science and rational thought, I am an open atheist and avid self-learner.
•