Sunday, July 12, 2009

I feel Java is harder to learn then C++, what do you guyz think?

Okay I am going to be honest here I just started learning Java and truthfully I prefer C++ way more! The first thing I really don't like about java is the fact that it is so damn strict especially the case sensetive thing! oi.. I dunno I always heard that it is so much easier, but idunno there seems to be a LOT more you have to remember in order to get things up and running then when I was doing C++.. I am like constently having to refer to my java so I know what memeber functions are apart of what class.. usually in C++ when you create classes it shows you all the members of yoru class. Also they change the names.. they refer to functions as methods and constants as finals? Idunno, perhaps I just need to give it some time, then I will see the advantages to it over C++. But so far I am favoring C++.





I would have to say the only thing I like about java so far is the ease of gui development.

I feel Java is harder to learn then C++, what do you guyz think?
Yes, I can agree with you, but what i'm stuck i now Actionscript. i wanna kinda master it, but it's seems so hard.
Reply:every answer here is subjective.. and it really depends on what you want to do.. c++ gives you access to low-level aspects.. while java simplifies your work, letting you woory about the important things, not the details..
Reply:Java is pretty sloppy, I dont see why everyone lilkes it. I believe C++ is easier to learn as well. Java has a lot of classes and include things you need to learn and very specific includes. With C++ you can include IOSTEAM.h and get going. JAVA is also very slow and needs a garbage collector.
Reply:java is far more better than c++. if you know about OO then you will prefer java.....hahahahahaha JAVA....
Reply:I studied C++ in my school for 2 years, this was not object-oriented programming but just basics and functions etc. Later I started learning classes in java for 2 months and at the same time object-oriented programming in Java.





I personally think, once you learn the keywords of java, you will find it much more easier to use.


Java is fully object oriented and not C++.


Java has Automatic garbage collector so you don't have to worry about memory leak. You don't need to create a desctructor to destroy the dynamic variables.


In java, you don't need a separate header file as in C++. In java you can create the interface using javadoc which is million times better if you compare with C++ header file.





Try using Java for at least 15 days and I am sure you will definitely go for java.
Reply:C++ is a much better language IMO. Not only does it have the advantage of being faster by tenfold, but it doesn't need a framework installed on the client machine to run. The downside being that each platform you develop for may need different code.





That's the upside to Java...the same code runs on Windows, Mac, and Linux (with obvious limitations) with less modification.





As far as showing the members of your class, that sounds like the IDE as opposed to the language. Though I've never developed with either language, all the other languages I've used have various development environments with different features...perhaps you should look for a better Java IDE.


No comments:

Post a Comment