Results 1 to 12 of 12

Thread: Which is better.....C++ or Java?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2000
    Posts
    104
    I've got a pretty good hold on VB and want to learn a new language to expand my skillset.

    I've looked through books on C++ and Java and Java would be easier to learn but C++ has all the power from what I've been told by other programmer friends.

    What does everyone else think? Which language do you think is more profitable and which will have more longevity?

  2. #2
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    I plan on learning both, but I've started with C++. I'm not quite sure why, but I have a feeling that Java kind of follows on from C++ in a lot of ways, it's like an evolution of C++. I think.
    Harry.

    "From one thing, know ten thousand things."

  3. #3
    Guest
    learn C++.

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Jul 2000
    Posts
    104
    denniswrenn,

    Why C++?

  5. #5
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    Although I have not used Java yet, I think I have a pretty good idea of what it's like, and I would say that by learning C++ you will be learning the fundamentals of progamming to a much greater degree.

    With C++ you can use pointers, which can be kind of weird at times, but are actually very useful (now I've used C++ a bit I wish I could use them in VB).

    Also, if you reckon you might ever want to try your hand at C# (if it takes off) then C# is apparently very similar to C++.
    Harry.

    "From one thing, know ten thousand things."

  6. #6
    Guest
    C++ is better than java, its more powerful and that is what alot of commercial software is written in, and C++ is what almost all games are written in..

    the main reasons I like C++ is

    * Pointers
    * speed
    * it has been around so long you can find DOZENS of books and documentation on it.







  7. #7

    Thread Starter
    Lively Member
    Join Date
    Jul 2000
    Posts
    104
    denniswren,

    But isn't there a move more toward Java. It seems like Java is being used more and more in commercial and web-based apps. And what I am asking is do you think that Java will overtake C++ and become a more popular language because of it's usability in a web-based economy.

  8. #8
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    C++ is not going to disappear anytime soon, I guarantee it. Java is popular, yes, but not as popular. So far as I can tell, they are very similar languages (same syntax at least) but C++ is closer to the fundamentals of programming. By learning C++ you will find Java easier.

    Don't just learn Java or just learn C++ though, learn both. In today's industry breadth of knowledge is very much needed, and C++ and Java are two of the most highly sought after skills right now.
    Harry.

    "From one thing, know ten thousand things."

  9. #9
    Guest
    well C++ is better, because java was written in C++...

    and C++ is never going to go away, it is one of the most powerful languages there is....

    and I am gonna learn Java but I dont like it very much... the applets take too long to load,... for things like that I like to use macromedia flash.
    its small its easy and it loads fast

    I should have learned C++ before VB, because now I am used to Vb doing lots of stuff for me(auto-capitalization, etc.) and its really screwing me up when I use C++....



  10. #10
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Learn C++, then Java. They both have complimentary skills which are very helpful.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  11. #11
    Hyperactive Member Zaphod64831's Avatar
    Join Date
    Mar 2000
    Posts
    268
    Definitely C++

    From what I heard, JAVA is becoming less and less popular, and they seem to look a lot alike code-wise. I figure if you learn C++ first then JAVA should be easy.
    Email: [email protected]

    Home Page: www.olemac.net/~hutch

    I'm bored, VERY bored, and I got bored with my sig. So I changed it to this.

  12. #12
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    From what I understand, C++ encapsulates (no pun intended ) all the fundamental aspects of Java and then some. If you leanr C++ first you will find it a relatively easy transition to Java, but if you learn Java first you may struggle with C++.
    Harry.

    "From one thing, know ten thousand things."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width