Hacker News new | ask | show | jobs
by codethief 94 days ago
I think the solution here is: Don't mock and inject dependencies explicitly, as function parameters / monads / algebraic effects. Make side effects part of the spec/interface.