Bridge pattern is used to separate an implementation from its abstraction so that both may vary without any dependancy upon other. Due to this decoupling, the bridge pattern is classified as a structural pattern. All that is needed is to create an interface to act as a bridge to make the functionality of concrete classes independent of interface implementer.
Following is an example in Fortran:
GitHub - Bridge Pattern
Fork
Following is an example in Fortran:
GitHub - Bridge Pattern
No comments:
Post a Comment