Had a code smell moment and couldn't decided if its OK for a class to be Observable and also an Observer, so thought I'd post here.
class ObservableAndObserver extends Observable implements Observer {
// Class is ofcourse registering and receving notifcations on different events
// effectly actving as a middle man.
// Is this a pattern in itself? 'middleman-pattern' ??
}
Thoughts? Breaking SRP?