What's the difference in these programming languages?
I am interested in learning computer science but wanted to prepare or see if I would like it or not. Friends told me I should learn Java, Python, and C++. And here I am, in this app, seeing many other languages. And so many people are learning those!
What do I want to do with coding?
-- I don't know, because I don't know how much you can do with coding. (I am this new to this world)
I just want to get some idea what's all these languages for.
... including Java, c++, and Python :)
C is the precursor to most of the compiled languages. It's compiled as native code with access to the hardware with direct access to memory pointers.
C++ extends C with Object Oriented Programming features.
C and C++ require explicit memory management programmatically. This could result in either efficient memory management or in memory leaks.
Java is much simpler than C/C++ and runs in a virtual machine (JVM) with a garbage collector for automatic memory clean up. The JVM prevents direct access to memory and can run on many platform OSs.
C# is similar to Java, yet much more elegant with its language design and features that are far too great to list here.
Of these languages, my preferences are in descending order: C#, Kotlin, C++, C, Java.
NOTE: I'm incredibly bias against Java. 😉
(Interpreted Languages Next...)
PHP: Typically used for web development and typically runs alongside a web server. There is a CLI, but I don't know anyone who uses it. PHP is used on many popular open source projects such as WordPress, Joomla, Moodle, SugarCRM, to name a few.
I'm going to let others add details about Ruby and Python.
In my market, since the initial release, C# has always been as strong if not stronger than Java in the enterprise space. I'm speaking from a unique position of working as an enterprise architect consultant where my primary clients were Fortune 500 businesses such as Coca-Cola, Bank of America, Macy's Department Stores, SunTrust Bank, and many more. You can see the list of companies in my LinkedIn profile to see more of the companies I've had insight into.
Of course, Java existed in these companies as well. But new development was always being pushed on .NET projects.
Any Java projects I worked on were always legacy applications.
Again... this is the reason I completely disregard the technology surveys.
If you don't have a goal, then it shouldn't matter. You can start with either, and should be exploring the pros and cons of each language as you master them.
These are a few threads which may point our the differences between the languages you mentioned, but keep in mind many people make statements which contain biases and/or are only true within a limited context.
Another option for you is to go through a few tutorials here yourself and get a feel for the different languages after having read that general introduction by David Carroll.
David I am curious. How many years do you give C# to overtake Java in popularity/use in enterprise software?
Simple & Easy Answer:~
First you can't be programmer untill you will not practice.
Second becomming good programmer is depend on you and your concentration...how many resources you use to learn..
The main difference in Java , Python, & c++ is
Java is mostly used in Android apps development & it is most demanding nowadays
Python is very easy than any other, and much powerfull language because it is use in many fields like Machine Learning, Web Development, Hacking, Operating System Scripting Programs...Its most famous, Easy, demanding language.
C++ is use handle operating system works, and it is also use to create many programming languages libraries.
Hope this is helpfull