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
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
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).]
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).]