this post was submitted on 19 Nov 2025
450 points (93.3% liked)
Programmer Humor
27690 readers
289 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
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Oh, I didn't know about digraphs at all. C++ is a really big language.
And wow, that's a well hidden footgun.
Feels like this thing should require an extra flag in case of
gccin this day and age, or a separate compile-time defined variable, specifically for cases where you don't want to require the flag.To be fair, the biggest footguns are the trigraphs, and now that I tested those do require a flag in gcc.
The digraphs are just hard to search, never used operator symbols.