Question:
Is it better to learn C before learning Java or C++?
Rey
2009-02-11 01:39:25 UTC
I am in high school now and expected to graduate in 2 years. I have no programming background, neither I am taking any programming courses in school. In short, a complete newbie. I am very interested in learning programming language and I have already downloaded netbean (a tool developed by Sun).
So is it better to learn C before any other programming language? What is the advantage? How long will I take? Any recommended sites to learn? My goal is to get finish the Java basic before I graduate, cuz I heard that Java is offered at programming 12 AP...
Another qquestion is that what is the difference between C++ and Java? I know Java is more popular now, but I heard that C++ is harder. Harder in what sense? What is the advantage or C++ over Java, or Java over C++? Or .NET?

Any help is greatly appreciated!
Five answers:
John Michael
2009-02-11 01:54:10 UTC
I taught myself programming. It was hard because I sent more time trying to unlearn what I thought was good programming.



http://see.stanford.edu/see/lecturelist.aspx?coll=824a47e1-135f-4508-a5aa-866adcae1111



I wish I would have had that. It's standord and it's free. It's intro to programming. You learn how to program java.



You wrote a lot of questions. Don't worry about all of that. Take that class and you'll be more than ready to tackle any language.



JMK

http://sucker-fish.com
sss
2009-02-11 01:58:00 UTC
As you are new to programming It is better to learn C language first. You will get to know the programming fundamentals, memory management, improving logic etc. Once you are done with C then you may move to C++. C++ is object oriented programming(OOP) language and supports C. C is a structural language. Java is designed in such a way that it is object oriented programming language in true sense and no memory management is involved. C++ and Java are used for different purposes. For most of the enterprise/web applications Java is used. After learning C langugae, put some efforts to understand the OOP concepts by learning C++. Then it will be easy to migrate to Java and understand the differences between C++/Java.
2009-02-11 01:48:50 UTC
DONT LEARN C before learn directly what you want, want to learn java? learn java, want to learn C++? learn c++, even the creator of c++ says it.



Well C++ is more difficult than java, is more low level and you have to worry about memory management,



java is the most popular i think, C++ is also really used in videogames and many other things, cant go wrong with any of the both but since C++ is complex some people reccomend java or maybe C# first. but well I prefer C++ because is more complex -_-,



but anyway a programmer in the future is supposed to not learn only one so pick one and stick with it then learn more when you know a lot.

I am gonna learn C++,C#,lua,python, and maybe 3 more

Dont know any java site

C++

cplusplus.com

cprogramming.com



AND AGAIN dont learn C if you plan to use C++ or Java
2016-04-07 04:21:16 UTC
Starting with Java is probably easier. C/C++ forces you to worry about a bunch of stuff that Java takes care of automatically.
Gosabaen
2009-02-11 03:56:36 UTC
You may. It'll help you to learn C++ easily.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...