by cdata · 7y ago · 0 comments
#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.