this post was submitted on 27 Jul 2023
1057 points (96.6% liked)

Programmer Humor

32394 readers
529 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 23 points 1 year ago (1 children)

fr, I didn't know dat macros could be used to make nu programming languages.

[โ€“] [email protected] 9 points 1 year ago

#define is nothing but a search and replace from the preprocessor.

I've been burned one too many times with #include which replaces the directive with the contents of the included headers file (I think that if you're truly evil you can even include straight .c files and forgo headers entirely)