944,178 Members | Top Members by Rank

View Poll Results: What is best for beginners that know nothing JAVE or C++?
JAVA 2 18.18%
C++ 9 81.82%
Voters: 11. You may not vote on this poll

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 1864
  • C++ RSS
Sep 11th, 2005
0

C++ or JAVA for beginnier

Expand Post »
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?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
vjw757 is offline Offline
65 posts
since Jun 2005
Sep 11th, 2005
0

Re: C++ or JAVA for beginnier

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.)
Team Colleague
Reputation Points: 1135
Solved Threads: 173
Super Senior Demiposter
Rashakil Fol is offline Offline
2,480 posts
since Jun 2005
Sep 12th, 2005
0

Re: C++ or JAVA for beginnier

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.
Reputation Points: 38
Solved Threads: 25
Posting Shark
chrisbliss18 is offline Offline
902 posts
since Aug 2005
Sep 12th, 2005
0

Re: C++ or JAVA for beginnier

so i guess im leaning to c++
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
vjw757 is offline Offline
65 posts
since Jun 2005
Sep 12th, 2005
0

Re: C++ or JAVA for beginnier

Java is not purely OOP. It has primitives. (But still a good post, thanks.)
Team Colleague
Reputation Points: 1135
Solved Threads: 173
Super Senior Demiposter
Rashakil Fol is offline Offline
2,480 posts
since Jun 2005
Sep 12th, 2005
0

Re: C++ or JAVA for beginnier

so as far as whats easyest to learn would you still go with c++
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
vjw757 is offline Offline
65 posts
since Jun 2005
Sep 12th, 2005
0

Re: C++ or JAVA for beginnier

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.
Reputation Points: 22
Solved Threads: 5
Posting Whiz in Training
Drowzee is offline Offline
244 posts
since Jul 2005
Sep 12th, 2005
0

Re: C++ or JAVA for beginnier

Quote 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.
Reputation Points: 11
Solved Threads: 1
Light Poster
Raven11 is offline Offline
36 posts
since Mar 2005
Sep 13th, 2005
0

Re: C++ or JAVA for beginnier

Quote 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.
Reputation Points: 38
Solved Threads: 25
Posting Shark
chrisbliss18 is offline Offline
902 posts
since Aug 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: File i/o question
Next Thread in C++ Forum Timeline: Unloading a stack to a string





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC