linked lists in java are so much easier than in C++

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

Ameesh

Lifer
Apr 3, 2001
23,686
1
0
Originally posted by: gopunk
Originally posted by: Ameesh
linked list in java is easier because there is no use of the dereferce operator *

its statments like this that make me hate the universities that only teach java. or teach java before c/c++

yea, but what if they taught C#? ;)

just as bad. i dont think any managed code should be taught as your first real language.
 

mchammer187

Diamond Member
Nov 26, 2000
9,114
0
76
Originally posted by: gopunk
Originally posted by: Ameesh
linked list in java is easier because there is no use of the dereferce operator *

its statments like this that make me hate the universities that only teach java. or teach java before c/c++

yea, but what if they taught C#? ;)

C# is pretty much just like microsoft's stealing java and branding it their own there are some change but they stole 95% of the stuff from java

anyway learn C++ is easy to learn its writing memory leak free software thats the problem
 

Ameesh

Lifer
Apr 3, 2001
23,686
1
0
Originally posted by: mchammer187
Originally posted by: gopunk
Originally posted by: Ameesh
linked list in java is easier because there is no use of the dereferce operator *

its statments like this that make me hate the universities that only teach java. or teach java before c/c++

yea, but what if they taught C#? ;)

C# is pretty much just like microsoft's stealing java and branding it their own there are some change but they stole 95% of the stuff from java

anyway learn C++ is easy to learn its writing memory leak free software thats the problem

you have no idea what your talking about.
 

mchammer187

Diamond Member
Nov 26, 2000
9,114
0
76
Originally posted by: Ameesh
Originally posted by: mchammer187
Originally posted by: gopunk
Originally posted by: Ameesh
linked list in java is easier because there is no use of the dereferce operator *

its statments like this that make me hate the universities that only teach java. or teach java before c/c++

yea, but what if they taught C#? ;)

C# is pretty much just like microsoft's stealing java and branding it their own there are some change but they stole 95% of the stuff from java

anyway learn C++ is easy to learn its writing memory leak free software thats the problem

you have no idea what your talking about.

tell me C# would still have been developed had java not
 

gopunk

Lifer
Jul 7, 2001
29,239
2
0
Originally posted by: mchammer187
Originally posted by: gopunk
Originally posted by: Ameesh
linked list in java is easier because there is no use of the dereferce operator *

its statments like this that make me hate the universities that only teach java. or teach java before c/c++

yea, but what if they taught C#? ;)

C# is pretty much just like microsoft's stealing java and branding it their own there are some change but they stole 95% of the stuff from java

anyway learn C++ is easy to learn its writing memory leak free software thats the problem

what ameesh said, and i was just trying to see if he would bite for the ms product :p
 

mchammer187

Diamond Member
Nov 26, 2000
9,114
0
76
Originally posted by: gopunk
tell me C# would still have been developed had java not

that's quite different from stealing. c# is *not* simply rebranded java.

it may not be exactly stealing but

you can not deny there is a striking resemblance between the 2

and how .NET is to the JVM

C# is basically java throw in some C++ and its own virtual machine and make a few improvements
 

gopunk

Lifer
Jul 7, 2001
29,239
2
0
it may not be exactly stealing but
you can not deny there is a striking resemblance between the 2


of course there is, they both were heavily derived from C++.

and how .NET is to the JVM
C# is basically java throw in some C++ and its own virtual machine and make a few improvements


that's like saying an acura is basically a lexus, or vice versa.
 

KEV1N

Platinum Member
Jan 15, 2000
2,932
1
0
Of course it's gonna be harder to understand linked lists when you have no previous knowledge of them. I don't think it's an issue of them being that much harder in Java, you're just smarter from having already done it in C++
 

mchammer187

Diamond Member
Nov 26, 2000
9,114
0
76
Originally posted by: gopunk
it may not be exactly stealing but
you can not deny there is a striking resemblance between the 2


of course there is, they both were heavily derived from C++.

and how .NET is to the JVM
C# is basically java throw in some C++ and its own virtual machine and make a few improvements


that's like saying an acura is basically a lexus, or vice versa.

though Java is derived from C++ is was truly the first true OOP language

the differences between C# and Java are very little while much has changed from C++ ---> Java / C#

before Java there was no such thing as a Virtual Machine

your comparison between acura and lexus does not correlate unless it would be like Acura is a copy of Lexus the first Luxury Sedan (which it was not)
 

gopunk

Lifer
Jul 7, 2001
29,239
2
0
though Java is derived from C++ is was truly the first true OOP language

are we forgetting smalltalk? and are we forgetting the primitive int in java?

the differences between C# and Java are very little while much has changed from C++ ---> Java / C#

not surprising, since C# is not meant to be derived from java. they learned from java, they didn't build off of it. if you built your own computer, after reading up on other people's experiences in hardware, are you "stealing" their computer design, or are you just being smart and taking care not to make the same mistakes as your peers?

your comparison between acura and lexus does not correlate unless it would be like Acura is a copy of Lexus the first Luxury Sedan (which it was not)

that's the point.
 

Jzero

Lifer
Oct 10, 1999
18,834
1
0
before Java there was no such thing as a Virtual Machine
While Sun may have invented the term "Virtual Machine" I don't think they were the first to devise a plan to translate machine code from one machine to another by way of software.
I had a PET emulator on my C64 in 1986, which is really nothing more than a PET virtual machine that takes the PET code and converts it to c64 code.

 

notfred

Lifer
Feb 12, 2001
38,241
4
0
Originally posted by: mchammer187
before Java there was no such thing as a Virtual Machine

Would you explain the fundamental difference between an interpreter and a virtual machine, please?
 

ggavinmoss

Diamond Member
Apr 20, 2001
4,798
1
0
Originally posted by: mchammer187
Originally posted by: gopunk
it may not be exactly stealing but
you can not deny there is a striking resemblance between the 2


of course there is, they both were heavily derived from C++.

and how .NET is to the JVM
C# is basically java throw in some C++ and its own virtual machine and make a few improvements


that's like saying an acura is basically a lexus, or vice versa.

though Java is derived from C++ is was truly the first true OOP language

the differences between C# and Java are very little while much has changed from C++ ---> Java / C#

before Java there was no such thing as a Virtual Machine

your comparison between acura and lexus does not correlate unless it would be like Acura is a copy of Lexus the first Luxury Sedan (which it was not)


You're really off base here. If you're a Computer Science student, I'm never sending my children to your school.

And by analogy, sports teams won three championships in a row before Pat Riley coined the term "Threepeat."
(There were "virtual machines" or interepreters or emulators before the term was coined.)

-geoff
 

mchammer187

Diamond Member
Nov 26, 2000
9,114
0
76
Originally posted by: ggavinmoss
Originally posted by: mchammer187
Originally posted by: gopunk
it may not be exactly stealing but
you can not deny there is a striking resemblance between the 2


of course there is, they both were heavily derived from C++.

and how .NET is to the JVM
C# is basically java throw in some C++ and its own virtual machine and make a few improvements


that's like saying an acura is basically a lexus, or vice versa.

though Java is derived from C++ is was truly the first true OOP language

the differences between C# and Java are very little while much has changed from C++ ---> Java / C#

before Java there was no such thing as a Virtual Machine

your comparison between acura and lexus does not correlate unless it would be like Acura is a copy of Lexus the first Luxury Sedan (which it was not)


You're really off base here. If you're a Computer Science student, I'm never sending my children to your school.

And by analogy, sports teams won three championships in a row before Pat Riley coined the term "Threepeat."
(There were "virtual machines" or interepreters or emulators before the term was coined.)

-geoff

I see your point

I give up :D :) :(