Observations on the Observer Pattern

UPDATED: 16 feb 2011
A group of students who should have been familiar with basic design principles and MVC all failed to implement the Observer design pattern correctly while at the same time violating several design principles. This paper discusses what went wrong and why it probably went wrong. Possible suggestions are given for teaching the Observer pattern and for teaching design patterns in general.

Please find the final version (which is also published in the proceedings of the PLoP Conference), here: Observer.pdf.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s