Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Pattern Oriented Software Architecture Frankfurt University of Applied Sciences

Winter Semester 2020/21 Prof. Dr. Eicke Godehardt

Exercise Sheet 14
February 11: Criticism and Alternatives
Exercise 1

Read the paper http://blog.plover.com/prog/design-patterns.html and implement the sug-


gested “object pattern” in plain C!

Exercise 2

Read the paper http://blog.plover.com/prog/design-patterns.html and implement the sug-


gested “subroutine pattern” in assembler1 !

Exercise 3

Implement the strategy or command pattern with function pointers in C, or delegates in C#


or blocks in Smalltalk or Python! (Hint: You might want to look at http://www.norvig.com/
design-patterns/!)

Hints

• Consult the literature!


• You can work in pairs, if you want!
• If you want to learn a Java API, look into the java docs!
• Always use the same familiar IDE (e.g. Eclipse or IntelliJ IDEA, which is free for students)!
• You may use a dedicated CASE tool (computer aided software engineering), e.g., MagicDraw
(key available in Moodle, too).

1 This is only for the brave hearts!

1/1

You might also like