Programming Without Ifs
Monday, July 13, 2009
Five Programming Without Ifs Challenges: Can You Pass The Acid Test?
›
From my studies of graduate students in the Masters of Software Engineering program at Carroll University, I think that most object-oriented...
1 comment:
Saturday, March 21, 2009
Challenge Five Answer: Decorator Design Pattern and Reflection
›
One approach to this problem is to have a class representing each of the possible pizza types and extra toppings. For example, one class mi...
Friday, March 20, 2009
Challenge Five: Doktat's Pizza Place
›
As shown in the figure below the pizza problem presents the developer with many choices of components that combine to form the object of int...
Tuesday, March 10, 2009
Challenge Four: Answer - Bridge Design Pattern
›
Challenge Four The first line of thinking about this problem was similar to that of the stopwatch. The elevator can be in one of three stat...
Sunday, March 8, 2009
Challenge Four: Doktat's Elevator
›
Challenge Four involves an application that crudely simulates a three-floor elevator as shown in the schematic below. The code for the Elev...
Friday, March 6, 2009
Challenge Three: Depencency Inversion Principle and Retrofactoring
›
CHALLENGE THREE: DEPENDENCY INVERSION PRINCIPLE AND RETROFACTORING CODE FOR THIS CHALLENGE (ZIP'D ECLIPSE PROJECT) AVAILABLE HERE . The ...
Thursday, March 5, 2009
Challenge Two: Answer & Discussion
›
Many students quickly notice that the UML class diagram for the State Design Pattern is essentially the same as the Strategy Design Pattern....
1 comment:
›
Home
View web version