Joined: 6/20/2004
Posts: 292
Location: United Kingdom
Due to a conversation in IRC, I decided to post a topic to try and solve the ultimate question...
Which Programming Language... C++ or Java.
I vote for C++, but I don't really know too much about either.
I'd post a Poll but I don't know how to, if it's possible.
Edit: Removed Counts
Joined: 2/28/2006
Posts: 2275
Location: Milky Way -> Earth -> Brazil
NO!!! THESE ARE THE PROGRAMMING LANGUAGES OF THE FUTURE!
EMOTICONl33t
"Genuine self-esteem, however, consists not of causeless feelings, but of certain knowledge about yourself.
It rests on the conviction that you — by your choices, effort and actions — have made yourself into the
kind of person able to deal with reality. It is the conviction — based on the evidence of your own volitional
functioning — that you are fundamentally able to succeed in life and, therefore, are deserving of that success."
- Onkar Ghate
Joined: 11/22/2004
Posts: 1468
Location: Rotterdam, The Netherlands
Gee, well, that depends. On http://www.freechess.org/, it's possible to play chess online without having any client installed, thanks to Java. That would not be possible with C++. This also ensures it is possible to do this on any operating system, as long as it supports Java.
That said, I prefer running C++ programs (or well, of any non-interpreted language -- I don't care if it's C++ or C or SmallTalk or Fortran) for my daily business. The only exception right now is Eclipse, an IDE written in Java.
EDIT: don't take this as a vote for C++. Voting is evil. You should just discuss things instead.
Joined: 2/28/2006
Posts: 2275
Location: Milky Way -> Earth -> Brazil
l33t pwnz any language
"Genuine self-esteem, however, consists not of causeless feelings, but of certain knowledge about yourself.
It rests on the conviction that you — by your choices, effort and actions — have made yourself into the
kind of person able to deal with reality. It is the conviction — based on the evidence of your own volitional
functioning — that you are fundamentally able to succeed in life and, therefore, are deserving of that success."
- Onkar Ghate
I love C++ because it's rough and dangerous. With java, you screw up, it gives you an exception. With C++, you screw up, you'll get the punishment you deserve!
All languages should be like C++ to stop stupid programmers from ever attempting to code.
Also, you can't get chicks by bragging with your java skills.
I don't like the both of them very much.
C++ may be fast in the right hands, but the overhead the coder has to do does not justify it's use unless you really need to be careful about ressources of your given system. The STL at present time is fun, but so overoptimized that it can screw you over faster than you can append a missing semicolon. Other useful things are either missing or highly system dependant.
Java on the other hand is an alphanumeric nightmare. The only thing I know that has even longer namespaces is DirectX. For crying out loud, printing to the standard output requires you to access the function System.out.println. In other languages a simple echo does that job. Also it (at least Java 1.4) doesn't even allow you to clean up your mess even if you wanted to. I remember reading in the documentation that every class has a destructor, but it won't necessarily get invoked when the coder wants it. If at all.
Are you in a meditative state, where you block out all annoying, irritating white noise?
It depends on who you are and what you're doing.
If you're a company wanting to develop a stable application for all platforms as quickly as possible, Java is probably your best choice.
If you're a researcher doing numerical analysis, C/C++ would obviously be faster.
Is Java easier to learn to learn than C++? Certainly. I can't possibly see how this could be construed as a bad thing. The code is also easier to read, especially for those who didn't write it themselves. This makes software maintenance more cost effective, and less of a headache for the one actually doing it.
Hahahahahaha. Java is sluggish and unstable on every system I've tried it on.
Unless you suggest they don't require the JRE, in which case Java ceases to be "write once run anywhere".
How fleeting are all human passions compared with the massive continuity of ducks.
Java is horrible. Noone actually likes Java.
C++ is better, but I prefer pure C. Actually, I prefer a bunch of other languages to C (Python, Kanren), but I like C well enough anyway.
someone is out there who will like you. take off your mask so they can find you faster.
I support the new Nekketsu Kouha Kunio-kun.
I always feel the need to shower after using python.
And how is C better than C++?
Seriously, I have no idea what everyone keeps talking about when they say C is better, and they always refuse to elaborate when asked.
How fleeting are all human passions compared with the massive continuity of ducks.
The only advantage in C over C++ is that it has a longer history and thus a larger number of operating systems it is supported on.
Programmingwise, I'd prefer C++ over C any time. Especially because it is backward-compatible in all that matters.
As for C++ vs Java, I agree with Warp's columns regarding the issue:
* http://iki.fi/warp/grrr/java.html -- Why I hate Java
* http://iki.fi/warp/grrr/java2.html -- Java considered harmful (for programming C++)
As for Java vs. C++, it depends. C++ is excellent if you have enough experience with it not to get killed by the many, many gotchas, but Java is nice to cut your teeth on. I'd probably say C++, just not as a first language.