0

Hello World! I want to start learning Python & C++, but what's the difference?

Hello World! I want to start learning Python & C++, but what's the difference? From what I've gathered is that python is more beginner friendly, I'm not sure how. But this make it seem more like training wheels for a bike. So that I can learn C++, im worried evt python will become obsolete. How difficult would it be to start straight with C++? What are the differences? What makes C++ so much faster than python? What are some pros and cons to each language? Am I justified to think python is gonna be as useless as I think? I see the potential in python from what I've learned so far, but rumours are some other languages are getting more attention C++, Java etc...? I can bearly script, I'm not sure if I even know what it means. I am very eager to learn and I want to study a BIT program. Spam & eggs

10th Mar 2019, 12:49 AM
Benny Jan Zhuang
Benny Jan Zhuang - avatar
3 Respostas
+ 4
Python is ======== *Beginner friendly. *Has a massive range of applications. *Dynamically typed(one reason it's slower than C++) *Has a massive standard library, as well as third party libraries. *Helps you do more with less lines of code, aka more productive *Hot language used for AI, Hacking, Data Science. C++ is ====== *semi high level language *Statically typed(for every data you use, you must define it's type) *Compiled language(probably why it's so much faster than Python) *Used for programs where performance is key, like games, browsers, servers etc. *a multi-paradigm language. *lets you control nearly every part of your program. If you like to start anyone of these languages, I recommend C++ ==== https://www.pdfdrive.com/the-art-of-c-by-herbert-schildt-e33457826.html Python ===== https://www.pdfdrive.com/starting-out-with-python-programming-2nd-edition-free-ebookpdf-e39599312.html Good luck on your code quest👊
10th Mar 2019, 2:10 AM
Dlite
Dlite - avatar
+ 2
Dlite I saw you recommend the C++ book to another guy so I went ahead and downloaded it😊 Thank you for an amazing answer could not have asked for better. I'm already well into learning the basics of python, and I'd like to learn both languages if possible. Would it be very difficult to learn C++ after learning python?
10th Mar 2019, 2:32 AM
Benny Jan Zhuang
Benny Jan Zhuang - avatar
+ 2
To an extent, because Python has a many functions that helps you do stuff quickly, whereas in C++ you may have to code it yourself. My advice is if you are going to learn any, find out what you want to create, and pick the language most suitable for that need.
10th Mar 2019, 3:05 AM
Dlite
Dlite - avatar