Thread: c++ vs. java
View Single Post
Old Jan 14th, 2008, 11:04 PM   #8
lectricpharaoh
Caffeinated Neural Net
 
lectricpharaoh's Avatar
 
Join Date: Jun 2005
Location: Dry west coast of Canada
Posts: 1,034
Rep Power: 5 lectricpharaoh will become famous soon enough
Re: c++ vs. java

Quote:
Originally Posted by Game_Ender
Java and C++ are very comparable. I suggest you use google to look up some more thorough information. In general, Java is a less powerful (in both speed an expressiveness) language but easier to use language.
I've found that because many of the simplifications in Java make it cumbersome to express certain things, in some ways it's a harder language to use.

@OP: Language comparisons are often biased, so when you ask for such a comparison, especially when you phrase it in an adversarial manner, you probably won't receive productive replies. I'm not a big fan of Java, myself, but that is all it is- personal opinion. Different languages are better suited to different things; after all, if one language was invariably the best, everyone would just use that.

As for a starting out language, I've heard good things about Python, though I've never used it. My recommendation, if you're looking to write Windows-based programs, would be C# (C sharp). It's basically Microsoft's answer to Java, except that the language is more akin to C++ than Java when it comes to expressiveness. Many of the 'syntactic sugar' aspects of C#, such as properties and operator overloading, make it possible to write much clearer code. Also, the .NET Framework classes offer a lot of functionality, and I prefer them to the Java API (which in many ways bears warts from previous versions, or Java's restrictive syntax).
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot.
- Vaarsuvius, Order of the Stick
lectricpharaoh is offline   Reply With Quote