NationStates Jolt Archive


C++ vs Java

Ginnoria
18-05-2006, 00:46
This thread is for coders fluent in both .... which do you prefer, and why? I myself like Java better; even though it is slower, I find it much simpler to get things done with it than C++, once you accept the fact that all objects are pointers.

As far as compilers go, please say which one you prefer to use ... I use MS Visual Studio for C++ and Eclipse for Java.
Jenrak
18-05-2006, 01:01
My enjoyment goes to C++ more. Seems more logical, and Java took me a while to catch on, what with their sneaky Array Lists.
Dissonant Cognition
18-05-2006, 01:05
Object Pascal (http://en.wikipedia.org/wiki/Object_Pascal)... :eek:

(I prefered -- I haven't written any code for a while now -- the design of Java over the monstrosity that is C/C++, largely for the same reason I prefered Pascal before and prefer *nix (http://en.wikipedia.org/wiki/*nix) operating systems now: KISS (http://en.wikipedia.org/wiki/KISS_principle). However, ultimately it comes down to the requirements of the task at hand. Every tool has a proper application.)
Obliquity
18-05-2006, 01:24
I prefer Java, no specific reason... it just makes more sense to me:) Eclipse is the best for Java IMO
Teh_pantless_hero
18-05-2006, 01:29
In my java class we used Notepad + Command Prompt to do stuff.
Deep Kimchi
18-05-2006, 01:31
I like Java, but I like Smalltalk better. And I like Ruby even more.
Ginnoria
18-05-2006, 01:32
In my java class we used Notepad + Command Prompt to do stuff.
That sounds terrible. Although, at a coding contest I went to, the guy that won (by himself, in a team competition) used Notepad. It was incredible.
UpwardThrust
18-05-2006, 01:36
That sounds terrible. Although, at a coding contest I went to, the guy that won (by himself, in a team competition) used Notepad. It was incredible.
AT SCSU for our ACM club we used notepad for our java compition ... we won rather handily

Anyways prefer c++ or c ... when I program I am usualy a network programmer
Deep Kimchi
18-05-2006, 01:39
AT SCSU for our ACM club we used notepad for our java compition ... we won rather handily

Anyways prefer c++ or c ... when I program I am usualy a network programmer

No, no, if you're really a die-hard programmer, you use vi.

And can do it blindfolded.
Dinaverg
18-05-2006, 01:43
No, no, if you're really a die-hard programmer, you use vi.

And can do it blindfolded.

With your feet?
Ginnoria
18-05-2006, 01:44
With your feet?
No, your eyelashes, silly.
UpwardThrust
18-05-2006, 02:26
No, no, if you're really a die-hard programmer, you use vi.

And can do it blindfolded.
Bullshit VIM is lightyears ahead

Anyways while I am absolutly positivly a linux geek we were restricted to windows for the compititon
IL Ruffino
18-05-2006, 04:16
C++ because I never used Java..

*tries to remember C++ commands*

emm..

Shit.

I can't believe this. I forgot them already. :(

I think I'll go die now.
Teh_pantless_hero
18-05-2006, 04:18
C++ because I never used Java..

*tries to remember C++ commands*

emm..

Shit.

I can't believe this. I forgot them already. :(

I think I'll go die now.
Yeah, I'm going to have to go through old code before starting my job. -_-
Not that they teach you anything useful in school. I learned more about java in the one java class I took than I learned about C/C++ in the three C/C++ classes I took. All they do is teach you to manually create structures provided by the default libraries.
Ginnoria
18-05-2006, 04:30
Yeah, I'm going to have to go through old code before starting my job. -_-
Not that they teach you anything useful in school. I learned more about java in the one java class I took than I learned about C/C++ in the three C/C++ classes I took. All they do is teach you to manually create structures provided by the default libraries.
My high school provides no programming classes whatsoever. I took a introductory college class on java, and I learned very little that I hadn't already taught myself. Anyway, once you've learned one language, it's not very difficult to learn another one, especially is the change is between two similar languages such as Java and C++.
Galloism
18-05-2006, 04:30
C++ is definitely my preference. The structure makes sense and it generally runs fairly efficiently once compiled (if the programmer codes it efficiently, of course).

Java is like the Locust of the computer world. It consumes all system resources in its path and then it moves on to take other system resources.
Teh_pantless_hero
18-05-2006, 04:45
My high school provides no programming classes whatsoever. I took a introductory college class on java, and I learned very little that I hadn't already taught myself. Anyway, once you've learned one language, it's not very difficult to learn another one, especially is the change is between two similar languages such as Java and C++.
I'm talking about college classes.
Ginnoria
18-05-2006, 04:49
I'm talking about college classes.
So was I, but it was introductory, or more like remedial, since most of the college students started out knowing absolutely nothing about java. Anyway, it was the only class that they permitted high schoolers to take for credit.
IL Ruffino
18-05-2006, 04:58
I'm talking about college classes.
*points and laughs*

I take it in highschool :)
Free Mercantile States
18-05-2006, 05:46
Java. C++ is in some ways more logical and obvious, but Java is more flexible and powerful, and better suited to modeling real-world interactions, objects, etc. and working with complex structures. It's also more logical and intuitive when you get to the inter-class/object-interactions level.
Teh_pantless_hero
18-05-2006, 05:49
*points and laughs*

I take it in highschool :)
Which has what to do with what?

So was I, but it was introductory, or more like remedial, since most of the college students started out knowing absolutely nothing about java. Anyway, it was the only class that they permitted high schoolers to take for credit.
No, you were talking about high school with a brief touch of college classes, again, nothing to do with what I was talking about.
Ginnoria
18-05-2006, 05:51
No, you were talking about high school with a brief touch of college classes, again, nothing to do with what I was talking about.
Actually just a brief touch of college, because my high school offers nothing on the subject. What? I never said I had vast quantities of experience with college education.
IL Ruffino
18-05-2006, 05:55
Which has what to do with what?


No, you were talking about high school with a brief touch of college classes, again, nothing to do with what I was talking about.
I have no idea.

Leave me alone.