Well, although the syntax/idiom is different, the design pattern is the same the Observer pattern.
IMHO, design patterns transcend language idioms and enable people to understand/communicate higher level abstraction.
IMHO, design patterns transcend language idioms and enable people to understand/communicate higher level abstraction.
The higher level abstraction aspects of a design pattern are usually better expressed without introducing codewords. E.g., the Observer pattern is just, "let's call a function on objects that want notification." It's the baggage that comes along with implementing these abstractions in blub that justifies a name as a pointer.
Related to the above, design patterns connote boilerplate; all that generic code that's needed to setup the pattern in blub.