r/programminghorror • • Jul 09 '26

Big if true

Post image

From ProgrammerNullposting in facebook

2.1k Upvotes

116 comments sorted by

View all comments

Show parent comment

10

u/Brutus5000 Jul 09 '26

I always thought C compiler are chaotic good

9

u/HugoNikanor Jul 09 '26

I would say lawful evil. The standard allows undefined behavior to do anything (implied as "something sensible"). C compilers took it literally