Someone in an interview asked me "What is the difference between architecture and design patterns?" In the discussion I unknowingly said that design patterns form the basis for a good architecture.
Is my assumption correct? Which one is the superset of the two?
Architecture - sets which functionality the system should perform, split the functionality between components, set how components should behave and communicate in the system context, set the physical location of components and finally choose the tools in order to create components.
Design - while architecture deals more with the wide picture, design should drill down in to the details relating to implementing certain components. Designing of components end up with classes, interfaces, abstract classes and other OO feature in order to fulfill the given component tasks.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With