Join Nostr
2024-09-06 00:13:21 UTC

🔪 Joel May-Kill 🔪 on Nostr: … why do I keep seeing this C code pattern everywhere lately? do { something(); } ...

… why do I keep seeing this C code pattern everywhere lately?

do { something(); } while(0);

Is it something to do with fighting with GCC’s optimiser?