I used to be better at math and coding. If I pulled up my old project euler solutions I'm not sure I'd understand them anymore.
- Posts
- 0
- Comments
- 1149
- Joined
- 3 yr. ago
- Posts
- 0
- Comments
- 1149
- Joined
- 3 yr. ago
- JumpDeleted
Permanently Deleted
- JumpDeleted
Permanently Deleted
- JumpRemoved
Bluesky just verified ICE
with patch("some_file.requests.get", side_effect=SomeException("oh no")): result = func_using_requests()Though not every language makes mocking as easy, and multiple responsibilities in a single function can quickly get messy.