Post History
Sneakily using macros In a code golf challenge, you are tasked to use as small bytes as possible. However, it's considered unacceptable in a language like C to use macros to hide code or shorten i...
Answer
#1: Initial revision
# Sneakily using macros In a code golf challenge, you are tasked to use as small bytes as possible. However, it's considered unacceptable in a language like C to use macros to hide code or shorten it without including the macro itself. ## An example: > # [C (clang)], 5 bytes > > <!-- language-all: lang-c --> > > hello > > [Try it online!][TIO-kril2e8h] In other words, it's a messy way to shorten code, and therefore, a challenge loophole. [C (clang)]: http://clang.llvm.org/ [TIO-kril2e8h]: https://tio.run/##S9ZNzknMS/@vnJmXnFOakqpgU1ySkpmvl2HHpZySmpaZl6qQkZqTk6@Qm5iZp6FZXVBaUqyh5AES0lEozy/KSdFT0rSu/Q9W9P8/AA "C (clang) – Try It Online"