Tuesday, July 14, 2009

Will learning Java first make it harder to learn C or C++?

Just wondering if this will set me up for a harder time learning c or c++ or if it will be an easy transition to those languages?

Will learning Java first make it harder to learn C or C++?
Learn C++ first and you will then be familiar with all the commands since Java is actually a derivative from the C family of languages. C is useless since it's extremely outdated and you can't do anything useful with it nowadays.
Reply:The truth is, no and no. No learning Java first will not make it harder to learn C/C++, nor will it make it easier.





I learned C in college, after learning Pascal, but there are similarities in the concepts behind them and pascal is designed as a language to be used to teach programming anyhow. C and C++ are conceptually different from Java -- despite that C++ and Java both work in objects. C and C++ have differences, but while I would suggest learning C++, not C, it is because I have yet to meet any C++ programmer who doesn't work with C functions and concepts -- you'll be getting C anyhow, whether you know it or not (and I've met C++ programmers who don't realize they are getting it ). Java makes it easy to do different things with a computer than C or C++ make it easy to do. Well, computers are great conceptual tools and no one language can, most likely, make it easy to do everything on your computer. I don't want to discourage you from learning Java first. But it will have no effect on learning C or C++.
Reply:I don't know C or C++ but I do know Java. I don't think it matters which one you learn first, but what they told us in class before is that it'll be easier for you to learn Java if you've had C or C++ background already.





I don't think it really matters, as long as you're really interested in learning the language and you practice it. If you have a good foundation on programming logic the only real difference between programming languages would be syntax.
Reply:Learning any programming language does not make it harder to learn another one. On the contrary, learning a programming language usually leads to an easier time on your second one. Many programming languages have similar syntaxes. Of course, there's a big difference between something like COBOL and Java.





My suggestion? Go with what you want to. It won't make it harder.
Reply:They are two different coding languages and both are useful.





This might actually be more useful in the long term though


http://http://developer.apple.com/iphone/progra...





The Apple WWDC is coming very soon


http://www.apple.com/
Reply:I have learned both and think learning one or the other would help some in learning the other. In other words, I do not think it makes a difference what order you learn them.
Reply:Learn C++ first, no need to learn C, it is a powerful language and the rest of the languages will seem easy.


No comments:

Post a Comment