Hacker News

Favorites Setup
Comment by teo_zero | original | C for Rust programmers
[−]teo_zero · 2026-10-11 Sun 06:59 UTC · link
If the author is taken aback by '->' vs. '.' and by true and false being 1 and 0, I'm surprised they haven't mentioned digraphs and trigraphs, or the alien <name> syntax for #include!
[−]procaryote · 2026-10-11 Sun 07:23 UTC · link
The only place I've ever seen a trigraph is in malicious c code style content. It's a terrible idea for sure, but not a problem in pratice... to the point that gcc at least used to require an extra flag to turn them on