What is Nostr?
Rob Napier /
npub1w6g…jdnq
2023-09-08 21:22:40

Rob Napier on Nostr: Swift Concurrency really forces you to think about race conditions you used to just ...

Swift Concurrency really forces you to think about race conditions you used to just ignore because you were "sure" they wouldn't happen.

... and I don't like it ...

I kid. It's a good thing. Like strong types, it forces us to grapple with all the possible states our program can be in. And that's hard because it's actually hard, not because "the compiler is picky."

My code is much better now that I'm designing to really deal with concurrency.

But making things atomic is hurting my brain.
Author Public Key
npub1w6g6g7yagvqkescw2e5kl2cyasksfgjc3nkky5u90zyypnhcpzxqy8jdnq