News for hackers. Stuff that matters.
Re:Unix "find" expressions compiled to bytecode by maxbond on Friday December 26, 2025 @04:17PM (#46396355)
File operations are a good candidate for testing with side effects since they ship with every OS and are not very expensive in a tmpfs, but you don't have to let it perform side effects. You could pass the eval function a delegate which it calls methods on to perform side effects and pass in a mocked delegate during testing.

There are no comments on this comment yet.