3 ms·
> Here’s a basic example showing off some of its core properties Why not make the string literals in the code identify their positions in the output, to expose
by neilv 2y ago
> Here’s a basic example showing off some of its core properties
Why not make the string literals in the code identify their positions in the output, to expose the behavior, rather than obfuscate it?
Then the reader only has to work through the code, to see why it would have that order.
It currently looks like a puzzle intended to be harder for the reader to understand than it needs to be.
- hyperhello 2y agoI was thinking it might be clearer with defer printf("2"); printf("1"); for example.
- gblargg 2y agoAgreed, the example immediately made me see it as an example for the Obfuscated C contest.