PDA

Click to See Complete Forum and Search --> : Differences between C and Java (features)


nad_scorp
Nov 16th, 2002, 09:34 AM
Hi

I'm looking for links or info. concerning the features that java had taken from C and ones that were dropped or not included.

Features in C++ taken from C or dropped would help too but I'm mainly looking for ones concerned with JAVA.

Thanx in advance

Zaei
Nov 16th, 2002, 12:29 PM
Bad comparison. They are really only the same in the basic syntax. A more valid comparison would be between Java and C++.

Z.

kedaman
Nov 17th, 2002, 08:27 AM
C= lowlevel+procedural
C++= C+OOP+Generic Programming
JAVA= C++ - Generic programming - lowlevel + Garbage collection + VM - Multiple inheritance
probably some other annoying things to mention too but the list goes on

parksie
Nov 17th, 2002, 08:43 AM
I still think that not including generic programming into Java is a reason why a lot of C++ programmers don't like it (myself included).

And it's probably why Ked hates it too. Come to think of it, he hates everything *g*

kedaman
Nov 17th, 2002, 08:55 AM
thats because most of what the programmer does, can be done by the compiler. I hate to do things that can be done automatically, reason why i started working on SQ ;)

parksie
Nov 17th, 2002, 09:09 AM
You're right on that one ;) Automatically-generated code is *always* going to be better than hand-written, which is why we have tools such as lexers.

SQ gone anywhere recently?

kedaman
Nov 17th, 2002, 09:55 AM
SQ is its own lexer ;) yup planning on the implementation of the first compiler now, just need to find a splay tree ;)