4 ms·
a nameless colleague once claimed all his most critical code was written while high on LSD. A self-taught physicist turned programmer who first learned Pascal,
by danbmil99 11y ago
a nameless colleague once claimed all his most critical code was written while high on LSD. A self-taught physicist turned programmer who first learned Pascal, his C files included a header file that #define(d) "Begin" as "{" and "End" as "}".
- philtar 11y agoCould you explain the last part? Are we talking about the inception of braces in programming?
- danbmil99 11y agoHe was porting his Pascal code to C, but wanted to keep writing things like helloWorld() Begin printf("hello world!"); End so he added these preprocessor lines: #define Begin { #define End }