Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Java is better than C

Name: Anonymous 2012-06-13 10:19

Lets compare these two pieces of code that create new integer.

C
int i;

Java
Integer i = new Integer();

- C assigns memory from stack. Everyone knows about the stack overflow problems. Stack allocation is bad.
- Java assigns memory from heap. Heap is good. Heap won't overflow.
- Java makes it more clear that new integer is created by saying new Integer. This makes Java much easier to read than C.
- C uses int as the name for its integer type. What does int even mean? interrupt? intelligence? Calling it Integer makes much more sense.

The conclusion is that Java is much better language than C.

Name: Anonymous 2012-06-13 15:35

Syntax quality != language quality.

That's like judging a cars performance on it's paint job.

Also disregarding that a good programmer would know how to prevent stack overflows and what "int" would mean.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List