08-11-2011, 02:35 PM
I don't know why you're all discouraging him from learning Java first. Java is by far one of the best languages to start off with when you first begin to program. Those of you who are saying "C++ is a better first language" should really rethink that. C++ is actually topped to be one of the worst first languages to learn, and in College, it's rare that anyone learns C++ before Java. In my college career, I've only taken a few C++ courses. Most of the courses I have taken have been in Java programming. In addition, I've recently completed all required Java programming courses, hence my going back to C++ again when the next semester begins.
C++ is way too difficult of a language to first begin with. It would be silly to stop Java for C++. If you really don't like Java (to me, it seems like you are rushing with the language too fast to begin making games [BAD IDEA]), then you should learn C. The C language only has a little over 100 basic built-in commands. With C, you can even find better tutorials online. Remember, Java is a very new language compared to C and C++. You may need to find a *RECENT* book on Java if you want to learn it properly because the language is still frequently updated. Don't read any tutorials on Java because they all suck really bad.
By the way, you shouldn't be jumping into Swing so quickly. Your code is a complete mess (from what you showed me), and you aren't setting half of what you need to set up correctly. I could fix this all for you, but then you wouldn't learn. If you really want to know how to fix it, let me know.
My point is this: Java is your best bet with getting into programming, but C is a good bet too. Whatever you do, forget about C++ for now; you know nothing about how libraries actually work yet, and as I've said, C++ is way too advanced for you right now. I regret ever learning C++ as my first language because it screwed me over for the next two years.
C++ is way too difficult of a language to first begin with. It would be silly to stop Java for C++. If you really don't like Java (to me, it seems like you are rushing with the language too fast to begin making games [BAD IDEA]), then you should learn C. The C language only has a little over 100 basic built-in commands. With C, you can even find better tutorials online. Remember, Java is a very new language compared to C and C++. You may need to find a *RECENT* book on Java if you want to learn it properly because the language is still frequently updated. Don't read any tutorials on Java because they all suck really bad.
By the way, you shouldn't be jumping into Swing so quickly. Your code is a complete mess (from what you showed me), and you aren't setting half of what you need to set up correctly. I could fix this all for you, but then you wouldn't learn. If you really want to know how to fix it, let me know.
My point is this: Java is your best bet with getting into programming, but C is a good bet too. Whatever you do, forget about C++ for now; you know nothing about how libraries actually work yet, and as I've said, C++ is way too advanced for you right now. I regret ever learning C++ as my first language because it screwed me over for the next two years.
-CoderRyne
Ryne Thiel
Ryne Thiel