Sign in to follow this  
gritchie

Learning Java

Recommended Posts

gritchie    112
Hi all, I am looking for a good book to start learning java, and would prefer it to be available on the kindle but if not that is alright, so that i can begin to program in that language and then start using it to program games. I know python and c++ and currently still use both, so i do have some basic programming knowledge and don't need a whole beginner book.

Thanks

Share this post


Link to post
Share on other sites
!Null    380
/*Note/*
I'm sorry, I just checked this comment and half the crap I wrote just is not there :S. So I'll re-write.
/*****/

If you already know python and C++ you are off on a good foot.

There are soo many book for learning Java that your best bet is to go onto Amazon or another site, and search for learning Java books, and see how people have reviewed those books.

on another note TheNewBoston has some quite decent tutorials on Java that you might be interested in.

Also, don't forget that Java is a well Documented Language and oracle have extensive API documentation / tutorials on their site.

http://docs.oracle.com/javase/tutorial/

Maybe try going through their trail tutorials and you will pick it up no problem Edited by !Null

Share this post


Link to post
Share on other sites
Bench3    126
If books don't do it for you; as you already know C++ which is very similar to Java, it shouldn't be too hard to look through the documentations and self-tutor yourself. If this proves difficult then there are many books and online resources which help very much with the beginner process.

Share this post


Link to post
Share on other sites
N=1    282
The one book that stands out in my experience of learning java while already having experience in C and C++ was [url="http://www.amazon.com/Effective-Java-Edition-Joshua-Bloch/dp/0321356683"]Effective Java[/url] by Joshua Bloch.

It is great in the sense that it describes a lot of normal programming challenges and tells you an effective way to do this in java. It also teaches provides a bit more in depth knowledge about OO fundamentals such as the relation between the equals() and the hashcode() methods. It is split up in small items, so it is fairly good as a reference book as well.

On the downside: some of the advice is old-fashioned especially with the advent of dependency injection. On the bright side: as a beginning developer it is probably better to stay away from modern solutions, and focus on the core language for now. So there is not much lost here.

As a second point, I would like to spark your interest for GUI solutions in Java. One of the unique things about a language is what frameworks exist for rendering graphics. Since you are interested in creating games, graphics will come into it at some point. Just to be able to give you actual useful advice in this area, It would be useful to know what kind of games would you like to develop? 2D scrollers? 3D shooters? Turn based browser games? I think you will have more fun if you can practice the language while making your first games, so please let us know your interests.

[size=2]Edit: perfectionist, a sentence did not make sense.[/size] Edited by Verik

Share this post


Link to post
Share on other sites
gritchie    112
First off, thanks everyone for the advice, and sorry it took me so long to respond to my own post (school is crazy this semester).

Verik
As for what kind of games I am interested in making. Really anything and everything, but 3D for sure just because the gaming industry is where i want to work in the future and if i can start making 3D games while still in school ill get some good experience.

Thanks again for all of yalls advice.

Share this post


Link to post
Share on other sites
CarlosMartinez    130
if u already have some experience with c++ and other languages, u might want to check out "thenewboston" java tutorials on youtube, they were very helpful to me on my transition from c++ my first programming language to java (my second), it doesnt cover advanced stuff, but enough to get you started on java.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this