Jump to content

Programing languages


bjbj1991

Recommended Posts

What are the advantages and disadvantages of the following programing languages c++, java, python? Also what is object oriented programing and how is it different?

 

 

 

From my understanding nearly everyone uses C++ and it has lots of infomation about it. Java and python I heard are many times slower than C++. Python's syntex is clear and easy to understand for a newbie like me. Then Java is good for cross platform programs and web apps.

 

 

 

Well thank you those who posted.

Link to comment
Share on other sites

C++ is compiled code. If you write good C++ code and use GNU make and preprocessor macros, you should be able to manage to make it compile cross-platform just as well.

 

 

 

Java is interpreted code. It is slow. It is bloated. It is the language most commonly taught in university computer classes, which you will use least of all as soon as those courses are over (or so I hope). Most programmers/hackers (no, not crackers) I know hate Java.

 

 

 

Python is the cool language. It's interpreted, but not as slow as Java afaik. Or maybe that's just appearance as Python makes it easy to do cool stuff, whereas Java makes it hard. Python is also cross-platform.

 

 

 

Object Oriented Programming means you represent everything in your program as some kind of object which you can use in some way, or get info out of or store info on. More info on, where else, wikipedia: http://en.wikipedia.org/wiki/Object_Ori ... rogramming

Link to comment
Share on other sites

I know very little about python, but as far as java and c++ in the real world goes, C++ is fairly dominant. That having been said, a lot of companies are using java where they might have used VB for quick proof-of-concept work. I know that google has been doing this for a while and I'd imagine they're not alone.

Link to comment
Share on other sites

Umm actaully, 40% of all programmers use JAVA, only about 10% use C++.

 

 

 

All the big games are made with C++. It is much faster and has greater potential. But, it is very difficult. JAVA, on the other hand, is used everywhere, from cell phones to printers. It is also easier to write. Python is a little known language with simpler code than C++ or JAVA.

Link to comment
Share on other sites

mmm, Java is used a lot within the mobile devices market. But outside of that you're looking at C / C# / C++ / Objective-C dominance.

 

 

 

There's the occasional language like 4th Dimension that can give C (and derivatives of) a good challenge.

 

 

 

 

 

And just on the connect of 'web apps' and java - no. A server-side scripting language (php, asp and cgi) puts java to shame for almost EVERYTHING. Why people keep on using java for them is beyond me, it's fastly falling behind :x

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.