(e-mail address removed) wrote in
Does anybody know of a JAVA programming book for a beginner, such as
myself, to learn with? I'm looking at Java In A Nutshell, but I'm
unsure. Could anyone please reccomend a book to learn from? Thank
you!!!
First of all, this is a very subjective question. Different programmers
will have different ideas about what's a good book. And more
importantly, students with different backgrounds have different needs.
Someone who already knows C++ is likely to need a different book than
someone who's never programmed before. Even beyond that, different
people have different learning methods, meaning different books will
appeal to them.
That being said, here's my personal opinion.
I think it is very important for new programmers to get started using OO
techniques right away. Most books I have seen over the years start with
structural programming and tell you to ignore the object oriented parts
until later on. I think this is very wrong. If a book has a chapter
about "functions", "methods" or "control structures" before its first
chapter about "classes" or "object orientation", I'd stay away from it.
One book that I think does a decent job at teaching OO basics before
anything else, is Deitel's "Java How To Program". Barnes & Kölling's
"Objects First With Java" also does a good job at this - but I rather
dislike that they use an IDE. I believe a student should first be
comfortable with the command line compiler before using an IDE.
On the right side of
http://www.techbookreport.com/JavaIndex.html you'll
find a section "New to programming and to Java" recommending a couple of
beginner's books.
Finally, have a look at Roedy Green's Java Glossary at
http://mindprod.com/jgloss/gettingstarted.html, and subscribe to the
comp.lang.java.help and comp.lang.java.programmer groups. The first one
is more beginner-friendly, the second more for discussions among
established programmers, but both can be very interesting to lurk in.