Hacker News new | ask | show | jobs
by traderj0e 43 days ago
The nested `with`s are weird, but otherwise what would you do differently? Seems like a standard pattern.

I still don't really see behaviors helping with this. Like yeah you avoid deadlocking, but now you're abstracting away mutexes :S