this post was submitted on 30 Oct 2026
257 points (98.1% liked)
Programmer Humor
34180 readers
1039 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
- If the mod doesn't find it funny, you're banned. Ha-ha!... For real: do not use the community for "statements". There are other places for such content. Keep it chill and funny.
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
That's always funny to me. In a language that's so particular about different syntax features, they let macros of all things have a little bit of arbitrariness.
Yeah, I always wonder, if it was an intentional decision or just some first draft that stayed in.
Because I do think, it's kind of smart. Some macros make sense to call with either
()or{}, depending on if you pass a code snippet that's multi-line or not.So, you could come up with a complicated syntax to define which bracket types are acceptable, or you could just not bother. ๐