I
Immortal Nephi
I have been through study by reading How to Program C++ by Deitel 6th
Edition. I believe that it has very little information to explain
design patterns.
I want to expand more knowledge of better understanding how Design
Patterns is used with Object-Oriented Programming. I don’t find any
good books.
ATM example teaches how to use UML 2.0 and write several base
classes, one inheritance and polymorphism. ATM is the base class.
Screen, Keypads, Cash Withdrawal, and Deposit Slot are base classes
and they have compositions to be placed in ATM’s base class.
Think of creating more subclasses. The screen’s base class is good
example. I might want to build more subclasses and add more member
functions and data members to all subclasses. They are private
subclasses inside screen’s base class.
We discussed gigantic class post earlier. Screen’s base class might
become gigantic class. I am able to extract gigantic class into
subclasses by using refactoring.
I want to learn how to use Design Patterns and Refactoring. Here are
two books below. I am not sure if they are the right books. If not,
please make the list which books do you recommend me to study more.
Object-Oriented Computation in C++ and Java: A Practical Guide to
Design Patterns for Object-Oriented Computing by Conrad Weisert
Refactoring: Ruby Edition (Hardcover) by Jay Fields
Edition. I believe that it has very little information to explain
design patterns.
I want to expand more knowledge of better understanding how Design
Patterns is used with Object-Oriented Programming. I don’t find any
good books.
ATM example teaches how to use UML 2.0 and write several base
classes, one inheritance and polymorphism. ATM is the base class.
Screen, Keypads, Cash Withdrawal, and Deposit Slot are base classes
and they have compositions to be placed in ATM’s base class.
Think of creating more subclasses. The screen’s base class is good
example. I might want to build more subclasses and add more member
functions and data members to all subclasses. They are private
subclasses inside screen’s base class.
We discussed gigantic class post earlier. Screen’s base class might
become gigantic class. I am able to extract gigantic class into
subclasses by using refactoring.
I want to learn how to use Design Patterns and Refactoring. Here are
two books below. I am not sure if they are the right books. If not,
please make the list which books do you recommend me to study more.
Object-Oriented Computation in C++ and Java: A Practical Guide to
Design Patterns for Object-Oriented Computing by Conrad Weisert
Refactoring: Ruby Edition (Hardcover) by Jay Fields