I was reading Design Patterns by GOF and pluggable adapters caught my eye. I read up on this conversation https://coderanch.com/t/98662/engineering/pluggable-adapter and I like this answer Pluggable Adapter as mentioned in the GOF but still had a few questions:
- Why are pluggable adapters not used more often? They provide more flexibility but according to GOF an interface adaptation would have been built into the Target so I guess the Target is forgotten to be designed for possible future adaptations in this aspect?
- How is reflection used to implement pluggable adapters? And how is this not applying the Object style of the Adapter pattern?