COBOL programmers of the ’60s and ’70s gleefully abused the “ALTER” verb, allowing programs to rewrite their own code at runtime. Debugging became surreal, because code execution paths changed themselves mid-flight. Self-modifying COBOL code was like changing your car’s steering wheel while driving—it rarely ended well.
Home COBOL: "ALTER" — Self-Modifying Nightmares