Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

My goal was less to obfuscate than it was to compress the code. I kept it as clear as I could within the limits of trying to get the code really small. There weren't any deliberate obfuscations like using misleading variable names.

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: