3 ms·
I saw that kind of macro-based syntax a long time ago in some ancient Unix code (Version 7 from Bell Labs) - I think it may have been in Bourne's shell ("sh").
by greenyoda 7y ago
I saw that kind of macro-based syntax a long time ago in some ancient Unix code (Version 7 from Bell Labs) - I think it may have been in Bourne's shell ("sh"). It had macros like:
#define BEGIN {
#define END }
...
The author really seemed to prefer Pascal-like syntax to C.
A quirky programming style that was fairly popular at Microsoft at some point was "Hungarian Notation", invented by Charles Simonyi:
https://en.wikipedia.org/wiki/Hungarian_notation https://en.wikipedia.org/wiki/Hungarian_notation