From: rjj95
Java looks more easy to learn c++ looks to me just more easy to pick up the basics but harder to learn. Example: looking at a c++ tut already have a basic idea how to input a value "cin >> var;" and java… No idea…
Java:
System.Console Cin = new System.Console();
String Input = Cin.ReadLine();
Hint: Judge them both by what you need.. Not by what they look like.
For me, C++ was way way way easier than learning Java.. My transition to java was uncomfortable as its more restricted.. Benland helped me a bit with that. Same with editing smart.
For my buddies, they think I'm stupid when I say C++ is easier as they find it ridiculously tedious and hard.
It's a do it yourself language with no restrictions. By that, it means that when you want to do something, you write all your own code whereas Java/C# have built in libraries and functions ready for use.
I don't consider these advantages as I love having control over everything:
Java/C# advantages:
Garbage cleanup
No pointers
No ?ber long template errors
Not much to worry about for Cross platform stuffs.
C++ advantages:
Delete objects and stuff when you want them cleaned. No need for garbage cleanup if you don't produce garbage in the first place.
Pointers for direct memory access and speed
Templates are better than C#\Java generics.
Experience with all platforms and low level stuff.
IMO, there are more restrictions and disadvantages in Java whereas when I use C++ I feel free and have none.
That's debatable though. J-programmers will argue differently.
Anyway, choose a language for what you need, not how it looks. Syntax can be part of the choice too but look at the abilities first.