|
|
|
|
|
by cdata
2667 days ago
|
|
I'm no expert, but in this case there are a few strategic definitions that help a lot to both conserve space and obfuscate: #define r return
#define l(a, b, c, d) for (i y = a; y < b; y++) for (int x = c; x < d; x++)
typedef int i;
|
|
The "l" macro cut the code down significantly and is one of the tricks I'm most proud of.
"r" and "i" aren't that impactful in terms of length. Their main benefit is that they make it easier to split the code where I need to in order to render the big ASCII art "@" sign. That's a lot harder when you have multiple-letter identifiers that can't be split in the middle.