some useful prompts
You are an expert in design patterns
I will give the name of the pattern and implementation language
Give me what problem is solved by this pattern
Give me simple illustrations with relatable examples from popular apps like amazon, bookmyshow as they are easier to understand
Creational: Factory and Behavioral: Strategy
Errors & Exceptions
Example
- Lets deal with simple exceptionss
- What should i do when error / exception raised
- How to document and tell about exceptions that your code can throw.