Penny for your thoughts

Started by
12 comments, last by normal31337guy 19 years, 8 months ago
First post, won't be the last :D Okay, so I have about a month until my college course in computing starts. The course I'm doing will include Java programming amoung other things. I've never done any programming before (except for a few programs out of a C++ book but that can hardly be counted) but I have looked into it in a reasonable amount of depth and know that game programming is definately what I want to do with my life. This course will last a year, and university after that will last 4. That's 5 years to get upto a decent programming standard. It appears the first port of call will be Java.. is Java worth learning if I plan to move onto C++? Is Java a good starting point? Can anyone recommend me some Java books or websites? Any help appreciated! Thanks.
Advertisement
A lot of colleges teach Java before C++ because supposingly Java makes OOP easier to learn and understand. It is more OOP based, so moving to C++ is no problem. It is supposed to be easier going from OOP to non-OOP programming (Java or C++ -> C) than the other way around (C->C++ or Java).

A good Java book is "Java How to Program" (any edition).
Enjoy!
The biggest thing you will learn is how to think as a programmer. Learning a language is (mostly) just learning a new syntax. You are still able to apply the way of thinking that you have already learned. It will be a little different for you though going from Java to C++. You might have a hard time at first with pointers, but it shouldn't be too bad. I didn't have much of a problem doing the same thing myself. Starting with Java is definitely not a bad choice, even if you don't end up using it very often. It makes it much easier to get something running that actually does something, which in my opinion is most important as a beginner to keep you from losing interest right away. Go for it!
____________________________________________________________AAAAA: American Association Against Adobe AcrobatYou know you hate PDFs...
C++ makes everything else look easy, so look at it that way. If you started with C++ having no prior programming knowledge, you could check into an anger management course as well. They pair nicely.

They good news is, once you've got the basic "programming jargon" down, most of it translates easily to other languages. I mean, a loop and an if() statement are all the same, regardless of whether it's java, C++, perl, or &#106avascript. The only thing that gives trouble is learning the syntax (with C++ taking the cake on that one, perl close behind)
You'll probably start by learning simple programming, then go on to classes. In the second half, they'll probably start teaching you GUI programming. If you want to do really well in the class, learn as much as you can about object oriented programming. I actually learned C++ a couple months before my Java course and I walked all over the class. If you want to be making games, the best resources out there are usually written in C++, so maybe you should just learn C++ for now. Trust me, everything they teach you in Java will be almost identical to what you learned in C++. Just my thoughts though.
-------------------------------See my tutorial site: Click here
Like others have said, doesn't matter which language you learn first. If you plan on coding C++ primarily later on, then Java is probably a better starting point because it enforces OO design which will carry over to your C++ code.

Learning to PROGRAM is the hard part, not learning the language itself. Granted, some languages make this easier than others, and Java probably wouldn't be my first choice, but it's by no means the "worst". Stick with it and you'll be fine. Lots of businesses use Java, who knows it might come in handy someday.
Quote:Original post by leiavoia
C++ makes everything else look easy, so look at it that way. If you started with C++ having no prior programming knowledge, you could check into an anger management course as well. They pair nicely.


So, so true...

Personally, Losty, I would skip learning Java. It's no more difficult learning OOP in c++ as it is in Java. Except, java spoils you by keeping track of memory and having built-in support for graphics.

Here's a link to get started: Teach Yourself C++ in 21 Days

- Stephen




If you find the way to get fun from programming, then it doesn't matter what language you use.

I started with QBasic, mostly trying to hack gorilla...
[size="2"]I like the Walrus best.
Thanks for all the replies!

I've put off learning C++ on my own from scratch because in all honesty, I didn't know where to start. Well, Java programming is half-way through the first semester which is roughly 3-4months away. Utilizing the website given previously and a book of my own (C++ A Beginner's Guide), will this be enough time to get past the initial stage of confusion if I start learning C++ now?
Quote:Original post by Losty
Utilizing the website given previously and a book of my own (C++ A Beginner's Guide), will this be enough time to get past the initial stage of confusion if I start learning C++ now?


You should consider years until you can say you feel comfortable with it. Basic and Pascal are good choices to start getting in touch with programming if you have no experience at all.
[size="2"]I like the Walrus best.

This topic is closed to new replies.

Advertisement