What is Nostr?
TheCharlatan
npub196c…tlhg
2024-08-31 15:25:57

TheCharlatan on Nostr: Writing RAII style C++ is fine and good, but having no common pattern to effectively ...

Writing RAII style C++ is fine and good, but having no common pattern to effectively handle errors in constructors sucks. You can see it all over Bitcoin Core's codebase. There are like five different ways to handle these errors and none of them are really ergonomic.
Author Public Key
npub196cr58e3ds70njgqul6ndm3gu4yxxjgx00sp32t95lru5k600u7q2ftlhg