Show notes
- Dependency Injection
- Constructor_setter_method injection
- Service Locators or other DI frameworks
- Common Frameworks
1. Dagger
2. Koin
3. Kodein
4. ToothPick
How to test
Keep it simple simple
- KISS principle KISS principle - Wikipedia
- Examples
- Code Duplication
- “Extract this into a method”
- Lets create a framework for this
- Kaushik’s - 3x rule
- if something is duplicated 3 or more times, think about extracting it
- 3/6 Rule - In 6 months, will I be able to understand this in under 3 minutes?
- Code Duplication
Contact
@fragmentedcast or our Youtube channel
@kaushikgopal and kaushikgopal (on Instagram)