Testing & Dependency Injection
- What is unit testing? Can you explain the testing pyramid and other types of testing?
- What is dependency injection, and how is it used in Python?
Async & Concurrency
- Why are you using ‘async’ in your methods? What does it do?
- What is the Global Interpreter Lock (GIL)?
- What is the difference between multiprocessing and asynchronous programming? How does Python handle these?
Memory Management
- What is the garbage collector in Python? How does it work?
- Can you influence memory management by the garbage collector?
Generators & Iterators
- What are generators, and when would you use them?
- What is the difference between a generator and a list?
Dunder Methods
- What are dunder (double underscore) methods in Python?
- What is the difference between == and is?
- Can you name some common dunder methods?
Object-Oriented Programming (OOP) & SOLID Principles
- What OOP principles do you know? Can you show how you implemented them in your code?
- What are the SOLID principles?