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 | |||
![]() |
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?
•
•
Join Date: Jun 2005
Location: Cambridge, MA
Posts: 1,374
Reputation:
Rep Power: 7
Solved Threads: 47
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.)
(I presume that eventually you'll end up knowing both the languages anyway, so I'm ignoring any end benefits that the languages have.)
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.
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
Don't like the answers you are getting?
Did you try searching?
Clean up and optimize Windows 2000/XP
•
•
Join Date: Jun 2005
Location: Cambridge, MA
Posts: 1,374
Reputation:
Rep Power: 7
Solved Threads: 47
•
•
Join Date: Mar 2005
Posts: 36
Reputation:
Rep Power: 4
Solved Threads: 1
•
•
•
•
Originally Posted by TechTalk101_com
so as far as whats easyest to learn would you still go with c++
•
•
•
•
Originally Posted by Rashakil Fol
Java is not purely OOP. It has primitives. (But still a good post, thanks.)
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
Don't like the answers you are getting?
Did you try searching?
Clean up and optimize Windows 2000/XP
![]() |
Similar Threads
Other Threads in the C++ Forum
- Java Expert (Needed) (Java)
- Java Chat Reboots (Java)
Other Threads in the C++ Forum
- Previous Thread: File i/o question
- Next Thread: Unloading a stack to a string
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)






Linear Mode