Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Ask HN: What is the most beautiful piece of code you've ever read?. Parent comment
But a more idiomatic C version would be
long factorial(int n) { long result = 1; for (int c = 1; c <= n; c++) result *= c; return result; }
There are no comments on this comment yet.
But a more idiomatic C version would be