Skip to content

Comment on Write a program that makes 2 + 2 = 5parent

Comments

Very sneaky. For anyone else wondering why this works, look up trigraphs.

And after looking it up, you better then realise that if you actually ever use them in production code you better have a really good reason, or your colleagues will forever curse your name..

I think the above is probably the first time I've seen trigraphs used in the last 20 years or so.

http://en.wikipedia.org/wiki/Digraphs_and_trigraphs#C

sorry for spoiling:

"??/" got replaced by "\"

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.