Thread: Learning C++ before C# or Java ?

  1. #1
    Registered User
    Join Date
    Sep 2019

    Learning C++ before C# or Java ?

    I find it really helpful to learn c++ before i jump into c# or Java , The oops concepts become so clear to me , what do you think guys is this a good idea or a waste of time ?

  2. #2
    Registered User rstanley's Avatar
    Join Date
    Jun 2014
    New York, NY
    First of all, this is a forum for the discussion of C, and not C++ or other languages.

    That said, I would strongly recommend learning C thoroughly first, from a qualified instructor, or from an up to date book. Then if you wish to learn C++, you could then concentrate on the concepts and features of C++, Attempting to learn C by learning C++, you would not get a through understanding of the C concepts and features, common to both languages.

    As for other languages, you would be the only person to answer that question. It would depend on what area of programming and what systems you want to work with.

    Start with C, then C++, then make your decisions concerning other languages.

    Good luck!

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    > what do you think guys is this a good idea or a waste of time ?
    It's a waste of time if you're following someone's outdated notion that you have to learn X before learning Y.

    Also, consider that to achieve the kind of competence in a language where you can reasonably earn a living from it takes a couple of years.
    With your shopping list of languages, you just signed up to the thick end of a decade of effort.

    The world is full of "hello world" programmers than can do something simple in no end of languages, but are not actually that good at taking on larger and more novel tasks.

    Now ask yourself what you want to do with your programming knowledge. Do you want to be a Linux kernel hacker, smartphone apps developer, something "in the cloud", or sell your soul to the banks.

    90% of programming isn't about knowing where the curly braces go.
    Systems development life cycle - Wikipedia
    If you aspire to be more than a keyboard jockey in the middle of the cube farm, easily outsourced on the whim of a bean counter, you need a lot more skills.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  4. #4
    Registered User
    Join Date
    May 2012
    Quote Originally Posted by nevx View Post
    I find it really helpful to learn c++ before i jump into c# or Java , The oops concepts become so clear to me , what do you think guys is this a good idea or a waste of time ?
    C++ has gone in its own direction. Modern C++ code tends to be heavily templated and makes use of lambda functions. It doesn't bear much relationship to C, or to the original version of C++. Inheritance was once the central point of C++, now it has a much more minor role.

    However C is the basis for all the three languages you mention. C# and Java didn't try to modify C++, instead they went back to C and then tried to derive a new near-superset, as C++ had done, but avoiding what they saw as C++ mistakes. So it's worth knowing C thoroughly as the basis for learning almost any procedural programming language.
    I'm the author of MiniBasic: How to write a script interpreter and Basic Algorithms
    Visit my website for lots of associated C programming resources.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Learning Java and C++
    By dasmann in forum A Brief History of
    Replies: 4
    Last Post: 09-04-2007, 11:58 AM
  2. Learning Dos and learning Windows
    By blankstare77 in forum C++ Programming
    Replies: 8
    Last Post: 07-31-2005, 03:48 PM
  3. Multiple Java files for one Java project
    By doubleanti in forum Windows Programming
    Replies: 2
    Last Post: 11-22-2004, 02:06 AM
  4. learning
    By ZakkWylde969 in forum C++ Programming
    Replies: 9
    Last Post: 07-11-2003, 04:46 PM
  5. A Java programmer learning C#
    By aym_7 in forum C# Programming
    Replies: 2
    Last Post: 05-12-2002, 11:08 AM

Tags for this Thread