John Swan said:
Which one is best?
Java is slow but can be ran on every machine.
Actually, I find it quite fast, especially with the server VM. When
needed, you can link in C or C++ modules, or run other optimized goodies
via either System.exec or JNI. I did one project that linked to an
optimized LAPACK library over JNI, and got quite acceptable speed, but
that was partially because they were n^3 algorithms, so data size was
not a big issue.
C# kicks the crap out of MFC but can only be run on M$ platforms.
Unless you use the Mono project's subset of C# that runs on Linux and
MacOS X. Still, I tend to consider C# an MS-only language for now.
C++ is class
but is harder work so ultimately makes you better.
C++ has a lot of classes, and it is harder work. I would argue whether
it ultimately makes you better. I did C++ for seven years, and enjoy
Java more. Still, it has its place, and is worth knowing.
If someone wanted to learn an oop based language which one would you
choose????
Remember - the language you learn will probably not be your only
language. You should expect to learn another one every few years, if
only to know whether it is worth getting good at.
I would probably learn either Java or Ruby, depending on what I wanted
to do. Java produces cross platform UIs, which Ruby currently does not.
I hear tell that there are projects to do Cocoa in Ruby, so I could
generate a native MacOS X UI in Ruby, at least in theory. Were I
working on a server, my 'ui' is HTML and AJAX, so it really comes down
to maturity and tool availability.
Scott