Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 6 of 6

Thread: Which is difficult to learn Java or C++

  1. #1
    Junior Member
    Join Date
    May 2014
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Which is difficult to learn Java or C++

    I would rate myself as a beginner/intermediate who tries to learn VB.NET programming- very good at scripting with VBScript. So I haven't really touched on either Java or C++ or any hardcore programming since I personally consider VB.NET cheating as you're really just drawing and filling in the gaps with code you can search for online!!!!

    I wanted to explore more the other aspect of real programming because it always catch my interest. But could someone recommend to me one or the other ? my destination platform would be both Linux and Windows. Your comments and Ideas will be a great help for me since I am assisting a friend in developing programs and software about this Point of Sale System .Please give me some feedback. thank you


  2. #2
    Senior Member
    Join Date
    Jul 2013
    Location
    Europe
    Posts
    666
    Thanks
    0
    Thanked 121 Times in 105 Posts

    Default Re: Which is difficult to learn Java or C++

    There are no real objective arguments, this is pretty much a question of persona preference.
    Regardless, I would personally recommend Java over C++ for a beginner. It has stronger restrictions and thus its harder to make mistakes in my opinion.

    --- Update ---

    There are no real objective arguments, this is pretty much a question of persona preference.
    Regardless, I would personally recommend Java over C++ for a beginner. It has stronger restrictions and thus its harder to make mistakes in my opinion.

  3. #3
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,520
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: Which is difficult to learn Java or C++

    Thread moved.

  4. #4
    Member Ada Lovelace's Avatar
    Join Date
    May 2014
    Location
    South England UK
    Posts
    414
    My Mood
    Angelic
    Thanks
    27
    Thanked 61 Times in 55 Posts

    Default Re: Which is difficult to learn Java or C++

    Quote Originally Posted by jennie01 View Post
    I would rate myself as a beginner/intermediate who tries to learn VB.NET programming- very good at scripting with VBScript. So I haven't really touched on either Java or C++ or any hardcore programming since I personally consider VB.NET cheating as you're really just drawing and filling in the gaps with code you can search for online!!!!

    I wanted to explore more the other aspect of real programming because it always catch my interest. But could someone recommend to me one or the other ? my destination platform would be both Linux and Windows. Your comments and Ideas will be a great help for me since I am assisting a friend in developing programs and software about this Point of Sale System .Please give me some feedback. thank you
    C++ is a multi-panagram language, Java is fully OOP. If you have had experience with .NET languages,(VB) it will put you in good stead for
    learning another language. C++ and Java, were both written in C, so they both have roots and similarities with each other. However, one of the
    big differences is that Java is a Managed language, I.E it has a manual memory managed via a garbage collector. There are no pointers,
    (well in a sense there are - but you never have to deal with them) so this makes it easier to learn Java and IMHO it's a more "forgiving" language
    than C++ - in the fact it does not allow references passing at all (apart from arrays) - which is debatable as Java passes everything by value,

    Before I ramble off the subject - I would say C++ is more difficult than Java overall. You have to manually handle memory allocation,
    deal with memory leaks and other bugs associated with it - it is almost a H U G E language, and very complex. If you master Java,
    you will certainly have a good platform for C++.

    Wishes Ada xx
    If to Err is human - then programmers are most human of us all.
    "The Analytical Engine offers a new, a vast, and a powerful language . . .
    for the purposes of mankind
    ."
    Augusta Ada Byron, Lady Lovelace (1851)

  5. #5
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: Which is difficult to learn Java or C++

    Like others have said, this is entirely subjective. It's like asking "which tool is harder to learn, the hammer or the saw?" The answer is that it depends on *you* more than anything else.

    That being said, I would recommend checking out Processing: Processing.org

    It's built on top of Java but is designed for beginners. It's pretty amazing what you can have running in just a few lines of code.

    Shameless self-promotion: the link in my signature to Static Void Games contains tutorials and open-source programs that take you from Processing, through Java, and into more complicated engines like libGDX.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  6. #6
    Banned
    Join Date
    Jun 2014
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Which is difficult to learn Java or C++

    C++ is a lot harder to learn than Java for me.
    Last edited by copeg; June 4th, 2014 at 12:57 PM. Reason: Removed link added after post

Similar Threads

  1. difficult program
    By Fordy252 in forum What's Wrong With My Code?
    Replies: 7
    Last Post: June 4th, 2014, 03:51 AM
  2. Difficult questions please help
    By javanoobieman in forum Other Programming Languages
    Replies: 7
    Last Post: February 17th, 2012, 05:49 PM
  3. [SOLVED] Java program to invert a string and display the last enter key in uppercase
    By chronoz13 in forum What's Wrong With My Code?
    Replies: 9
    Last Post: August 27th, 2009, 02:33 AM
  4. Replies: 1
    Last Post: August 7th, 2008, 02:09 AM