Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ruszki
16 hours ago
|
parent
|
context
|
favorite
| on:
Simplify your code: Functional core, imperative sh...
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?
Izkata
15 hours ago
[–]
Applying it to the wrong module, a very common mistake in python due to how imports work.
reply
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: