|
-
Nov 16th, 2002, 10:34 AM
#1
Thread Starter
Addicted Member
Differences between C and Java (features)
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
Me "Talented Idiot" by Gtarawneh "He said he's sorry
Inconsequential is Incommunicable
The first impression we have
Is not always the real one
My reality is not always your
so my friend....Is life that simple?
It is called "Israeli occupation forces"
-
Nov 16th, 2002, 01:29 PM
#2
Frenzied Member
Bad comparison. They are really only the same in the basic syntax. A more valid comparison would be between Java and C++.
Z.
-
Nov 17th, 2002, 09:27 AM
#3
transcendental analytic
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
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Nov 17th, 2002, 09:43 AM
#4
Monday Morning Lunatic
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*
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Nov 17th, 2002, 09:55 AM
#5
transcendental analytic
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
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Nov 17th, 2002, 10:09 AM
#6
Monday Morning Lunatic
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?
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Nov 17th, 2002, 10:55 AM
#7
transcendental analytic
SQ is its own lexer yup planning on the implementation of the first compiler now, just need to find a splay tree
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|