News for hackers. Stuff that matters.
Re:Simplify Your Code: Functional Core, Imperative Shell by ruszki on Tuesday October 28, 2025 @01:51PM (#45736273)
What are those mock pitfalls, which are avoided by freezegun which is a mock according even to them? IoC and Clocks solve the same problem. So what are the pitfalls of using those instead of this other mock?
Re:Simplify Your Code: Functional Core, Imperative Shell by Izkata on Tuesday October 28, 2025 @02:09PM (#45736572)
Applying it to the wrong module, a very common mistake in python due to how imports work.