Which is better? I love them both
Love them both
They're both NOTHING compared to Visual Basic!
This is a discussion on C++ vs Java within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Which is better? I love them both...
I also love them both and I don't think the term "better" is correct here. As discussed many times, the best language to use depends on what you want to do.
By saying "better", I mean which do you find has the most features and ease of use. This should be different for different people.
If that's the definition of "better" in this thread: In my opinion Java has more features and is easier to use.
>In my opinion Java has more features
It has a more extensive library, but this is not true of the core language.
I have found that GUI (using Java 2) among other things is very simple compared to the W32 api, which is exellent becuase this means that you can write windows progs much quicker than in C, and you are less bug/error prone as a result. But are there any disadvantages of Java (in applets/progs)?
And BTW, the person who voted for Visual Basic should be ashamed of themselves
>>And BTW, the person who voted for Visual Basic should be ashamed of themselves
I am. But as you want to write Windows apps with as little pain as possible, it would be true in this case (and your users wouldn't have to put up with swing).
I never learned Visual Basic...should I have? I went straight to C++ becuase I knew I could handle it.
>I went straight to C++ becuase I knew I could handle it.
It's not a question of being able to handle it; but more -
If you're after something to do straightforward Windows apps quickly, you may be better off looking at VB/C#/Delphi before C/C++/Java.this means that you can write windows progs much quicker than in C, and you are less bug/error prone as a result
we're on a c++ board here, what do you think the results are going to be?!?
C++ for me.
Along the lines of not allowing profanity on these boards, cant we post something saying, "NEVER ASK WHICH IS BETTER X or Y,"
We get the same answers everytime, it depends on what your doing, You want to know both, you want to have many tools at your disposal, etc...
It seems like every week someone asks which is better C or C++, or C++ vs. C#, or Java.
Oh yeah execept we can all agree that Visual Basic is the king of programing languages (joke)
>>Oh yeah execept we can all agree that Visual Basic is the king of programing languages
We all know that html is clearly the superior language.
If you own a piece of land and there is an volcano on it and it ruins a
nearby town, do you have to pay for the property damage?
Java is too verbose for my taste, too much connecting the dots and very long winded. Java is OOP gone mad. Another gripe I have is that byte code is interpreted.