Taming Nondeterminism with Dependency Injection
Formal Metadata
| Title | Taming Nondeterminism with Dependency Injection |
|
| Subtitle | Take back control of your code! |
|
| Title of Series | |
| Number of Parts | 115 |
| Author | |
| License | CC Attribution - NonCommercial - ShareAlike 4.0 International: You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal and non-commercial purpose as long as the work is attributed to the author in the manner specified by the author or licensor and the work or content is shared also in adapted form only under the conditions of this license. |
| Identifiers | |
| Publisher | |
| Release Date | |
| Language | |
Content Metadata
| Subject Area | |
| Genre | |
| Abstract | There are many sources of nondeterminism in code such as randomness, IO, environment variables, databases and many more. Nondeterminism is a source of confusion, and it makes testing difficult. One way to control nondeterminism is using the dependency injection pattern.
In this talk I'll guide you through a series of problems that demonstrate how nondeterminism can pose incredible challenges even in simple code. Tackling one problem after another, we'll gradually integrate dependency injection into the code to address these challenges!
After attending this talk you will hopefully understand:
- The challenges nondeterminism poses
- How to identify nondeterminism in code
- What dependency injection is, and how it addresses challenge related to nondeterminism
- How to implement and integrate dependency injection into Python code |
|