java and c++?
-
just now i have a hot debate with my colleagues. two of them (one just take a java course) insist that java and c++ are much alike. we can't persuade each other. so anyone please gives me your opinions on java and c++. is java derived from c?are they much alike? :confused: this is my signature for forums quoted from shog*9: I can't help but feel, somewhere deep within that withered, bitter, scheming person, there is a small child, frightened, looking a way out.
-
just now i have a hot debate with my colleagues. two of them (one just take a java course) insist that java and c++ are much alike. we can't persuade each other. so anyone please gives me your opinions on java and c++. is java derived from c?are they much alike? :confused: this is my signature for forums quoted from shog*9: I can't help but feel, somewhere deep within that withered, bitter, scheming person, there is a small child, frightened, looking a way out.
Why get into such debates? You are not going to convince him and (most probably) he will fail to persuade you. In cases like these my answer is always to use the right tool for the right job. I wouldn't mind getting into a debate about whether Java or C is better for a particular project becuase each project has different requirements so if someone argues that VB or Java is a great tool to write Quake4 I would disagree, but not if they want to use Java or VB to write a front-end app for example. bibamus, edamus, cras moriemur
[eat, drink, for tomorrow we die]
-
just now i have a hot debate with my colleagues. two of them (one just take a java course) insist that java and c++ are much alike. we can't persuade each other. so anyone please gives me your opinions on java and c++. is java derived from c?are they much alike? :confused: this is my signature for forums quoted from shog*9: I can't help but feel, somewhere deep within that withered, bitter, scheming person, there is a small child, frightened, looking a way out.
C / C++ / \\
Java C#
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
-
C / C++ / \\
Java C#
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
-
just now i have a hot debate with my colleagues. two of them (one just take a java course) insist that java and c++ are much alike. we can't persuade each other. so anyone please gives me your opinions on java and c++. is java derived from c?are they much alike? :confused: this is my signature for forums quoted from shog*9: I can't help but feel, somewhere deep within that withered, bitter, scheming person, there is a small child, frightened, looking a way out.
zhoujun wrote: insist that java and c++ are much alike. What are you basing your comparisons on? Cars and Jeeps are much alike, but they are much different too. Drinking In The Sun Forgot Password?
-
Why get into such debates? You are not going to convince him and (most probably) he will fail to persuade you. In cases like these my answer is always to use the right tool for the right job. I wouldn't mind getting into a debate about whether Java or C is better for a particular project becuase each project has different requirements so if someone argues that VB or Java is a great tool to write Quake4 I would disagree, but not if they want to use Java or VB to write a front-end app for example. bibamus, edamus, cras moriemur
[eat, drink, for tomorrow we die]
Brian Azzopardi wrote: In cases like these my answer is always to use the right tool for the right job But to select the right tool you must now what the differences between your tools are. And saying that Java and C++ is much the same wouldn't be a very good starting point for making a choice. Syntactically the two languages look much the same and they are both object oriented. But the inner workings of the two are very different. Just to name a few - Java relies on a Virtual Machine to execute, - The Graphics library is part of the Java language not an add on - C++ has templates - java has garbage collection and so on I also committed the crime of posting a programming question in the Lounge.
-
zhoujun wrote: insist that java and c++ are much alike. What are you basing your comparisons on? Cars and Jeeps are much alike, but they are much different too. Drinking In The Sun Forgot Password?
just general comparison as two popularly-used program languages. :-O this is my signature for forums quoted from shog*9: I can't help but feel, somewhere deep within that withered, bitter, scheming person, there is a small child, frightened, looking a way out.
-
just now i have a hot debate with my colleagues. two of them (one just take a java course) insist that java and c++ are much alike. we can't persuade each other. so anyone please gives me your opinions on java and c++. is java derived from c?are they much alike? :confused: this is my signature for forums quoted from shog*9: I can't help but feel, somewhere deep within that withered, bitter, scheming person, there is a small child, frightened, looking a way out.
templates, preprocessor, multiple inheritance (I know, they are evil incarnation for Java people), inline code, metadata isolation from code (.class has class definitions AND code to be executed), and a stable execution environment (your "virtual machine" it the OS itself). Concussus surgo. When struck I rise.
-
just now i have a hot debate with my colleagues. two of them (one just take a java course) insist that java and c++ are much alike. we can't persuade each other. so anyone please gives me your opinions on java and c++. is java derived from c?are they much alike? :confused: this is my signature for forums quoted from shog*9: I can't help but feel, somewhere deep within that withered, bitter, scheming person, there is a small child, frightened, looking a way out.
They are similar in syntax but the differences are underlying. I've probably got it wrong since I don't use Java, but...... Java is meant to be target indepedant and relies on the JVM (Java Virutal Machine) to do housekeeping). This makes it good for web applications. C++ can be much more stand alone and for embedded realtime applications is far superior to Java. Java was derived from C++ in several ways but I'll leave it to an expert to fill in details from here. Elaine (fluffy tigress emoticon) Would you like to meet my teddy bear ?
-
zhoujun wrote: insist that java and c++ are much alike. What are you basing your comparisons on? Cars and Jeeps are much alike, but they are much different too. Drinking In The Sun Forgot Password?
Nice analogy James :cool: Would you like to meet my teddy bear ?
-
just now i have a hot debate with my colleagues. two of them (one just take a java course) insist that java and c++ are much alike. we can't persuade each other. so anyone please gives me your opinions on java and c++. is java derived from c?are they much alike? :confused: this is my signature for forums quoted from shog*9: I can't help but feel, somewhere deep within that withered, bitter, scheming person, there is a small child, frightened, looking a way out.
There is someone called Bjarne who invented a cool language, he might help you. Have a look at : http://www.research.att.com/~bs/homepage.html I think he answers the question on his site.
-
C / C++ / \\
Java C#
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
Nice summary, Nish!:-D "Knock, knock." "Who's there?" "Recursion." "Recursion who?" "Knock, knock..."