Reminds me of the classic https://github.com/Droogans/unmaintainable-code
Some companies have a strict policy of no numeric literals; you must use named constants. It is fairly easy to foil the intent of this policy. For example, one clever C++ programmer wrote:
#define K_ONE 1 #define K_TWO 2 #define K_THOUSAND 999
Never underestimate the power of a bored college student and a preprocessor: https://github.com/Hashdump/Goodbye-World/blob/master/hello_random.c I still go back to that and disgust myself with what I created.
what is that supposed to do?
It prints “Hello World!”
Reminds me of the classic https://github.com/Droogans/unmaintainable-code
Never underestimate the power of a bored college student and a preprocessor: https://github.com/Hashdump/Goodbye-World/blob/master/hello_random.c I still go back to that and disgust myself with what I created.
what is that supposed to do?
It prints “Hello World!”