Haki Benita- Taming Nondeterminism With Dependency Injection

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ต.ค. 2024
  • There are many sources of nondeterminism in code such as randomness, IO, environment variables, databases and many more. Dependency injection is a pattern that provides a way to control nondeterminism in code and make tests easier to write.
    In this talk I'll demonstrate how nondeterminism can pose challenges even in simple functions, and how to use dependency injection to address these problems!

ความคิดเห็น •