3 ms·
> likely attempting to confuse the reader It's just ordinary C code.
by WalterBright 3y ago
> likely attempting to confuse the reader
It's just ordinary C code.
- throwaway675309 3y agoVery obviously not. Nobody substitutes random three letter strings for keywords in ordinary C code unless they intend on some trivial obfuscation. define O1O printf #define OlO putchar #define O10 exit #define Ol0 strlen #define QLQ fopen #define OlQ fgetc #define O1Q abs #define QO0 for typedef char lOL;
- andrepd 3y agoNot random, but permutations of easily confusable characters (0OQ, 1l).
- WalterBright 3y agoIn many fonts, they are nearly indistinguishable. For example, the default font of putty for { and ( look identical to me, leading to many syntax errors in my code.
- panzi 3y agoI've seen code like this (3 letter macros for every one and a half(!) syntax construct, all macros starting in Q, seemingly random indentation). I do not understand why the developer did that or why the company let him. Just that at the end he didn't understand his own code anymore and couldn't fix some issues.
- tomjakubowski 3y agoDid you write the program without the intention of being obfuscatory, and then _later_ submit it to IOCCC? Or did somebody else submit your code? It's right here, and your name is on it. https://www.ioccc.org/1986/bright/bright.c https://www.ioccc.org/1986/bright/bright.c It even won an award! https://www.ioccc.org/1986/bright/hint.html https://www.ioccc.org/1986/bright/hint.html
- WalterBright 3y ago> Did you write the program without the intention of being obfuscatory I cribbed it from system .h files.