RSS Forums RSS
Please support our C++ advertiser: Programming Forums
View Poll Results: What is best for beginners that know nothing JAVE or C++?
JAVA 1 10.00%
C++ 9 90.00%
Voters: 10. You may not vote on this poll

Views: 1474 | Replies: 8 | Thread Tools  Display Modes
Reply
Join Date: Jun 2005
Posts: 61
Reputation: vjw757 is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
vjw757's Avatar
vjw757 vjw757 is offline Offline
Junior Poster in Training

Help C++ or JAVA for beginnier

  #1  
Sep 11th, 2005
im about to sign up for some college classes.. one is either going to be java or c++ for beginner. I dont know anything about these languages. Can you guys help me choose?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jun 2005
Location: Cambridge, MA
Posts: 1,374
Reputation: Rashakil Fol has a spectacular aura about Rashakil Fol has a spectacular aura about 
Rep Power: 7
Solved Threads: 47
Colleague
Rashakil Fol's Avatar
Rashakil Fol Rashakil Fol is offline Offline
Salamander Man

Re: C++ or JAVA for beginnier

  #2  
Sep 11th, 2005
It depends on your personality. I figure that after learning C++ you're likely to have more of an idea of what is really going on in your computer program than you are with Java. Since I was uncomfortable without that knowledge, C++ was a better match for me than Java could have been.

(I presume that eventually you'll end up knowing both the languages anyway, so I'm ignoring any end benefits that the languages have.)
Reply With Quote  
Join Date: Aug 2005
Location: Oklahoma
Posts: 902
Reputation: chrisbliss18 is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 23
chrisbliss18's Avatar
chrisbliss18 chrisbliss18 is offline Offline
Posting Shark

Re: C++ or JAVA for beginnier

  #3  
Sep 12th, 2005
Java is a great language. If I were to chose between programming in Java or C++ (while ignoring what the final product has to be), I would chose Java. I just like the programming model and structure better. However, Java is a completely different programming model than C++ and not every programmer fully understands it (every Java professor I had used it like C++ while obeying Java's rules). Furthermore, C++ programs easily compile to machine code while Java programs can't without special compilers.

C++ has many nuances and difficulties that are very hard to understand and work with, but you don't have to use these hard-to-understand-concepts until you are ready for them. Whereas you might have 30 "what's this" type questions in order to fully understand a simple "Hello, world!" Java program, you will only have about 3-5 similar questions with a simple "Hello, world!" C++ program. Knowing that you can more easily develop your understanding of C++ with small, incremental building blocks than you can in Java, I'd have a hard time recommending Java as a starting language over C++.

It is interesting to me that so many universities use Java as a starting language. The only reasoning that I can come up with for this is that Computer Scientists see Object-Oriented Programming as the future and want to ensure that the new programmers learn to think in OOP-based designs before they start thinking in procedural-based designs.

FYI: C++ is C (procedural only) with some enhancements and OOP abilities. Java was developed to be purely OOP.
Did we help you? Did we miss the point entirely? Update your thread and let us know.
Don't like the answers you are getting?
Did you try searching?
Clean up and optimize Windows 2000/XP
Reply With Quote  
Join Date: Jun 2005
Posts: 61
Reputation: vjw757 is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
vjw757's Avatar
vjw757 vjw757 is offline Offline
Junior Poster in Training

Re: C++ or JAVA for beginnier

  #4  
Sep 12th, 2005
so i guess im leaning to c++
Reply With Quote  
Join Date: Jun 2005
Location: Cambridge, MA
Posts: 1,374
Reputation: Rashakil Fol has a spectacular aura about Rashakil Fol has a spectacular aura about 
Rep Power: 7
Solved Threads: 47
Colleague
Rashakil Fol's Avatar
Rashakil Fol Rashakil Fol is offline Offline
Salamander Man

Re: C++ or JAVA for beginnier

  #5  
Sep 12th, 2005
Java is not purely OOP. It has primitives. (But still a good post, thanks.)
Reply With Quote  
Join Date: Jun 2005
Posts: 61
Reputation: vjw757 is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
vjw757's Avatar
vjw757 vjw757 is offline Offline
Junior Poster in Training

Re: C++ or JAVA for beginnier

  #6  
Sep 12th, 2005
so as far as whats easyest to learn would you still go with c++
Reply With Quote  
Join Date: Jul 2005
Posts: 244
Reputation: Drowzee is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 4
Drowzee Drowzee is offline Offline
Posting Whiz in Training

Re: C++ or JAVA for beginnier

  #7  
Sep 12th, 2005
I have been looking around in the job field, and I have yet to come across anyone who would want people who know JAVA rather than C/C++. Of course, I'm not interested in developing online applications, so that may be part of it.

That is just one person's experience, though.
Reply With Quote  
Join Date: Mar 2005
Posts: 36
Reputation: Raven11 is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 1
Raven11 Raven11 is offline Offline
Light Poster

Re: C++ or JAVA for beginnier

  #8  
Sep 12th, 2005
Originally Posted by TechTalk101_com
so as far as whats easyest to learn would you still go with c++
If you want to take the easy way out watch TV. Otherwise, do which will benefit you more. As far as I know, most companies would require you to know both - meaning it doesn't matter what you start with.
Reply With Quote  
Join Date: Aug 2005
Location: Oklahoma
Posts: 902
Reputation: chrisbliss18 is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 23
chrisbliss18's Avatar
chrisbliss18 chrisbliss18 is offline Offline
Posting Shark

Re: C++ or JAVA for beginnier

  #9  
Sep 13th, 2005
Originally Posted by Rashakil Fol
Java is not purely OOP. It has primitives. (But still a good post, thanks.)
Good point. I hinted at it with my "... was developed to be ...", but I was not explicit. Sun decided that it would be too hard a transition to force a pure OOP model, so they broke some of the OOP rules to aid in luring C coders.
Did we help you? Did we miss the point entirely? Update your thread and let us know.
Don't like the answers you are getting?
Did you try searching?
Clean up and optimize Windows 2000/XP
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Similar Threads
Other Threads in the C++ Forum
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 2:49 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC