C++ Vs Java

Reply

Join Date: Nov 2006
Posts: 37
Reputation: Firestone is an unknown quantity at this point 
Solved Threads: 0
Firestone Firestone is offline Offline
Light Poster

C++ Vs Java

 
0
  #1
Jul 8th, 2007
I tried searching the forums for this, but couldn't find anything.

If I were to make a career out of computer programming, which would be better to learn, Java or C/C++?
Last edited by Firestone; Jul 8th, 2007 at 4:13 pm.
=================================
There are 10 types of people in the world,
Those who understand binary, and those who don't
=================================
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 7,541
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 704
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Code Goddess

Re: C++ Vs Java

 
0
  #2
Jul 8th, 2007
>If I were to make a career out of computer programming,
>which would be better to learn, Java or C/C++?
If you don't know C, I wouldn't hire you. Period. If you don't know Java or C++, whether I would hire you or not depends on the job. However, I would recommend learning all three, starting with C, then moving to C++, and finally Java.
I'm here to prove you wrong.
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 37
Reputation: Firestone is an unknown quantity at this point 
Solved Threads: 0
Firestone Firestone is offline Offline
Light Poster

Re: C++ Vs Java

 
0
  #3
Jul 8th, 2007
Ok. I know some C/C++ right now, and no Java.
=================================
There are 10 types of people in the world,
Those who understand binary, and those who don't
=================================
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 7,541
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 704
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Code Goddess

Re: C++ Vs Java

 
1
  #4
Jul 8th, 2007
>I know some C/C++ right now, and no Java.
Let me clear this up for you right now. C/C++ is for experts only. C and C++ are two different languages and you would be wise to learn only one at a time. When people say C/C++, they mean some combination of C and C++ that can only be correctly written by someone proficient in both.
I'm here to prove you wrong.
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 37
Reputation: Firestone is an unknown quantity at this point 
Solved Threads: 0
Firestone Firestone is offline Offline
Light Poster

Re: C++ Vs Java

 
0
  #5
Jul 8th, 2007
Ok, I'll work on mastering C for now, thanks.
=================================
There are 10 types of people in the world,
Those who understand binary, and those who don't
=================================
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 759
Reputation: Killer_Typo will become famous soon enough Killer_Typo will become famous soon enough 
Solved Threads: 35
Sponsor
Killer_Typo's Avatar
Killer_Typo Killer_Typo is offline Offline
Master Poster

Re: C++ Vs Java

 
0
  #6
Jul 8th, 2007
java compilers and the java runtime environment are created using C++


learning both C and C++ is good but you may find yourself trying to unteach yourself things from C when you work in C++.
Dont forget to spread the reputation to those that deserve!
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 7,541
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 704
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Code Goddess

Re: C++ Vs Java

 
0
  #7
Jul 9th, 2007
>learning both C and C++ is good but you may find yourself
>trying to unteach yourself things from C when you work in C++.
Yes, just like when you learn C++ and Java, C and C#, Java and Fortran, Perl and Python, LISP and Forth... Pick any combination of languages and your statement is absolutely true. So did you have a point or are you simply trying to propagate the usual C/C++ myths?
I'm here to prove you wrong.
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 102
Reputation: TheGathering is an unknown quantity at this point 
Solved Threads: 10
TheGathering's Avatar
TheGathering TheGathering is offline Offline
Junior Poster

Re: C++ Vs Java

 
0
  #8
Jul 9th, 2007
C++ and Java are fairly similar in terms of syntax and concepts. It takes a little time to get to used to the nuances of each, but learning one makes transition to the other vary easy.

I would strongly suggest you learn both. C++/Java are both very fast and powerful languages that will give you the flexibility to choose which language best suits your needs.



A C++ programmer once told me that C++ is where you learn to program, C is where you learn to shoot yourself in the foot. I don't agree with him, but C can be both a very powerful and dangerous tool in software development.

C is often used for hardware oriented software and as a metalanguage for hardware oriented languages. If you were truly going to make a career out of programming, C would most likely be the most applicable language you could learn and possibly the one that would guarantee you the most job security.

All that said, I would strongly suggest you learn all of the languages above well and not limit yourself to any one or two languages by also learning the .net and script oriented languages such as Perl and Python.
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 759
Reputation: Killer_Typo will become famous soon enough Killer_Typo will become famous soon enough 
Solved Threads: 35
Sponsor
Killer_Typo's Avatar
Killer_Typo Killer_Typo is offline Offline
Master Poster

Re: C++ Vs Java

 
0
  #9
Jul 9th, 2007
Originally Posted by Narue View Post
>learning both C and C++ is good but you may find yourself
>trying to unteach yourself things from C when you work in C++.
Yes, just like when you learn C++ and Java, C and C#, Java and Fortran, Perl and Python, LISP and Forth... Pick any combination of languages and your statement is absolutely true. So did you have a point or are you simply trying to propagate the usual C/C++ myths?
there are deffinate uses for both C and C++ but it is not necesarily true that one should learn C prior to C++

Originally Posted by TheGathering View Post
All that said, I would strongly suggest you learn all of the languages above well and not limit yourself to any one or two languages by also learning the .net
there have been numerous .NET jobs available lately. It seems as though businesses are picking up on the languages because of the little learning curve and they can have something visible (software wise) near immediate.

of course the tradeoff is the fact that somethings are best done through windows API not included in the .NET framework so one hase to call in the .DLL's through the use of the runtime.interopservices
Last edited by Killer_Typo; Jul 9th, 2007 at 2:28 pm.
Dont forget to spread the reputation to those that deserve!
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 5,264
Reputation: iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold 
Solved Threads: 376
Featured Poster
iamthwee's Avatar
iamthwee iamthwee is offline Offline
Posting Expert

Re: C++ Vs Java

 
0
  #10
Jul 9th, 2007
The differences between java and c++
*Voted best profile in the world*
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC