Skip to main content
deleted 3 characters in body
Source Link

Yes, you are right. Both objects know each other if that is what your are referring to. The important thing is what they know about each other. While the BinaryObserver knows the Subject in detail the Subject knows only Observers. To be more precise the Subject doesn't know the details about your BinaryObserver it can only send messages to it that are defined in the Observer class. In that way Subject is decoupled from the details of your BinaryObserverclass.

To sum up, while the coupling in of the BinaryObserver to the Subject is very high the coupling in the opposite direction is weak.

Yes, you are right. Both objects know each other if that is what your are referring to. The important thing is what they know about each other. While the BinaryObserver knows the Subject in detail the Subject knows only Observers. To be more precise the Subject doesn't know the details about your BinaryObserver it can only send messages to it that are defined in the Observer class. In that way Subject is decoupled from the details of your BinaryObserverclass.

To sum up, while the coupling in of the BinaryObserver to the Subject is very high the coupling in the opposite direction is weak.

Yes, you are right. Both objects know each other if that is what your are referring to. The important thing is what they know about each other. While the BinaryObserver knows the Subject in detail the Subject knows only Observers. To be more precise the Subject doesn't know the details about your BinaryObserver it can only send messages to it that are defined in the Observer class. In that way Subject is decoupled from the details of your BinaryObserverclass.

To sum up, while the coupling of the BinaryObserver to the Subject is very high the coupling in the opposite direction is weak.

deleted 5 characters in body
Source Link

Yes, you are right. Both objects know each other if that is what your are referring to. The important thing is what they know about each other. While the BinaryObserver knows the Subject in detail the Subject knows only Observers. To be more precise the SubjectSubject doesn't know the details about your BinaryObserver it can only send messages to it that are defined in the Observer class. In that way itSubject is decoupled from the details of your BinaryObserverclass.

To sum up, while the coupling in of the BinaryObserver to the Subject is very high the coupling in the opposite direction is very weak.

Yes, you are right. Both objects know each other if that is what your are referring to. The important thing is what they know about each other. While the BinaryObserver knows the Subject in detail the Subject knows only Observers. To be more precise the Subject doesn't know the details about your BinaryObserver it can only send messages to it that are defined in the Observer class. In that way it is decoupled from the details of your BinaryObserverclass.

To sum up, while the coupling in of the BinaryObserver to the Subject is very high the coupling in the opposite direction is very weak.

Yes, you are right. Both objects know each other if that is what your are referring to. The important thing is what they know about each other. While the BinaryObserver knows the Subject in detail the Subject knows only Observers. To be more precise the Subject doesn't know the details about your BinaryObserver it can only send messages to it that are defined in the Observer class. In that way Subject is decoupled from the details of your BinaryObserverclass.

To sum up, while the coupling in of the BinaryObserver to the Subject is very high the coupling in the opposite direction is weak.

added 15 characters in body
Source Link

Yes, bothyou are right. Both objects know each other if that is what your are referring to. The important thing is what they know about each other. While the BinaryObserver knows the Subject in detail the Subject knows only Observers. To be more precise the Subject doesn't know the details about your BinaryObserver it can only send messages to it that are defined in the Observer class. In that way it is decoupled from the details of your BinaryObserverclass.

To sum up, while the coupling in of the BinaryObserver to the Subject is very high the coupling in the opposite direction is very weak.

Yes, both objects know each other if that is what your are referring to. The important thing is what they know about each other. While the BinaryObserver knows the Subject in detail the Subject knows only Observers. To be more precise the Subject doesn't know the details about your BinaryObserver it can only send messages to it that are defined in the Observer class. In that way it is decoupled from the details of your BinaryObserverclass.

To sum up, while the coupling in of the BinaryObserver to the Subject is very high the coupling in the opposite direction is very weak.

Yes, you are right. Both objects know each other if that is what your are referring to. The important thing is what they know about each other. While the BinaryObserver knows the Subject in detail the Subject knows only Observers. To be more precise the Subject doesn't know the details about your BinaryObserver it can only send messages to it that are defined in the Observer class. In that way it is decoupled from the details of your BinaryObserverclass.

To sum up, while the coupling in of the BinaryObserver to the Subject is very high the coupling in the opposite direction is very weak.

deleted 20 characters in body
Source Link
Loading
Source Link
Loading