File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Thinking in an Object Oriented Language Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Thinking in an Object Oriented Language" Watch "Thinking in an Object Oriented Language" New topic
Author

Thinking in an Object Oriented Language

Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Hello,
Does anyone have any advice in learning to think more clearly in an Object Oriented Language? Any web sites or books of particular value?
A vague question, indeed, but a most important concept!

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Corey McGlone
Ranch Hand

Joined: Dec 20, 2001
Posts: 3271
Originally posted by Dirk Schreckmann:
Hello,
Does anyone have any advice in learning to think more clearly in an Object Oriented Language? Any web sites or books of particular value?
A vague question, indeed, but a most important concept!

Indeed, this is a vague question, and I feel that it could get a hundred responses and still not be thoroughly covered. I'll give you a couple tips to start off.
First of all, I like to think of classes as "black boxes." Each class offers certain functionality through the use of its methods. All details are contained within that box and are invisible to anyone outside the box (this is the notion of encapsulation). Try to keep your classes from dealing with each other's internal data members.
Also, I'd recommend spending some time on JavaJunkies. It's another forum site like this one and, even though the site is rather young, it has some good tutorials that cover such things.
I hope this at least helps you get started.
Corey


SCJP Tipline, etc.
Michael Ernest
High Plains Drifter
Sheriff

Joined: Oct 25, 2000
Posts: 7292

Hi Dirk -
I came into OO programming by practice, but friends of mine who started by reading generally like Bruce Eckel's book, Thinking in Java, as a primer. You can also download an edition for free to see if you really want it on paper.
------------------
Michael Ernest, co-author of: The Complete Java 2 Certification Study Guide


Make visible what, without you, might perhaps never have been seen.
- Robert Bresson
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
I liked Beginning Java Objects by Jacque Barker
------------------
Bosun
SCJP for the Java� 2 Platform


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Hello,
Thank you all for your great advice. The book by Bruce Eckel looks to be just what I need to get my brain in gear.
Thanks again.
Julia Reynolds
Ranch Hand

Joined: May 31, 2001
Posts: 123
Mr. Eckel sells a terrific seminar on his site called Hands On Java. If you watch it as you read each chapter of the book it really reinforces and enhances the material in the book. I highly recommend Hands On Java.
Julia
[This message has been edited by Julia Reynolds (edited January 01, 2002).]
Fei Ng
Ranch Hand

Joined: Aug 26, 2000
Posts: 1242
OOL... Learn patterns!! it helps a lot! while learning patterns learn UML too.
here is a good list of books from javaranch.
http://www.javaranch.com/bunkhouse/bunkhouseDesign.jsp
Axel Janssen
Ranch Hand

Joined: Jan 08, 2001
Posts: 2164
Hi Dirk,
I think Fei is right.
On Bruce Eckels site there is a unfinished book about oo-design patterns (Thinking in patterns), which is good but unfinished. And it costs no money.
A very good starter for what-I-think-is modern object oriented thinking is Shalloway/Trott: Design Patterns Explained.
A good starter for UML is Fowler/Scott: UML Distilled.
A good overview about the technical side of OO project-management is Larman, Applying UML and Patterns 2nd edition.
Axel

[This message has been edited by Axel Janssen (edited January 01, 2002).]
Mapraputa Is
Leverager of our synergies
Sheriff

Joined: Aug 26, 2000
Posts: 10065
A.Shalloway, J.Trott "Design Patterns Explained" is the best book for beginners not only on patterns, but on what OOP really is.


Uncontrolled vocabularies
"I try my best to make *all* my posts nice, even when I feel upset" -- Philippe Maquet
Fei Ng
Ranch Hand

Joined: Aug 26, 2000
Posts: 1242
i second on Design Patterns Explained.
Best BEST book to start.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Thinking in an Object Oriented Language