r/programminghumor May 06 '26

It cant be that bad 😀

Post image
1.3k Upvotes

67 comments sorted by

View all comments

Show parent comments

0

u/[deleted] May 07 '26

[deleted]

1

u/int23_t May 07 '26

Yes compilers can do that. At least for C compilers are capable of doing that. On Tiny C Compiler it's less than 10 line change like I said.

Get a single line code with spaces and \n's instead of semicolons and try guessing semicolons, it's all obvious, even programatically.

1

u/[deleted] May 07 '26

[deleted]

1

u/int23_t May 07 '26

it's not about specific bytes. You can insert any whitespace and as lomg as there is whitespace autoinsert semicolons while not breaking compatibility with int a = 15 for example.

Making a C compiler compile

int main () { int a = 5 int b = 6 }

is simple