Hacker News new | ask | show | jobs
by kuon 3010 days ago
I've been writing C for 20 years and I have no idea what I am reading.
1 comments

> ((void)((x) 0l))

It took me a while to figure that 0l is 0 with lowercase "L"

Whatever font that site uses makes it very very hard to distinguish l and 1.

Hilariously that site makes no choices at all about what font to use; it merely puts the message text into a pre tag, making it monospaced. You should choose a better font to display monospaced text in.
I spent a long time wondering why it was multiplying by octal 1 as well. I'm not sure whether code like this should be critiqued for readability, but "0L" (uppercase) would have worked better.