Comment

Comment by defrost

Pretty much.

Although even things in the C FAQ get overlooked and forgotten.

eg: a 'Day of the Week' one liner such as

dow = (y + y/4 - y/100 + y/400 + m["-bed=pen+mad."] + d) % 7;

with int day (d), month (m), year (y) inputs and single int day of week output has a slight twist that causes a few head scratches for some.

parent defrost 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton