2,000+ Free Courses with Certificates: Coding, AI, SQL, and More
Power BI Fundamentals - Create visualizations and dashboards from scratch
Overview
Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
Learn how to control nondeterministic elements in code through dependency injection in this 22-minute PyCon Israel conference talk. Explore various sources of nondeterminism including randomness, IO operations, environment variables, and database interactions that can complicate testing and code reliability. Discover practical techniques for implementing dependency injection patterns to manage these unpredictable elements, making code more testable and maintainable. Follow along with demonstrations that showcase how even simple functions can be affected by nondeterminism and gain hands-on strategies for addressing these challenges effectively through proper dependency management.
Syllabus
Haki Benita- Taming Nondeterminism With Dependency Injection
Taught by
PyCon Israel