Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Architecture vs Design patterns [closed]

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?

like image 456
GustyWind Avatar asked Mar 02 '26 18:03

GustyWind


1 Answers

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.

like image 106
dsgriffin Avatar answered Mar 05 '26 06:03

dsgriffin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!