Design Patterns are solutions to to commonly occurring problems.
We need design patterns to ensure our work is consistent, reliable and understandable.
- Building Architecture
- Electrical and plumbing
| from __future__ import print_function | |
| from abc import ABCMeta, abstractmethod | |
| class Button: | |
| __metaclass__ = ABCMeta | |
| @abstractmethod | |
| def paint(self): |
| import threading | |
| import time | |
| import random | |
| import concurrent.futures | |
| numbers = list(range(1, 11)) | |
| def product(num): | |
| for i in range(1, 10000000): |
Microservices are architectural style in which large & complex software applications are composed of one or more smaller services.
Microservices are design principles for an application