Submission timeline
2007–2026One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.
First comments on top threads
HN comment order>Rule 5. Data dominates. If you've chosen the right data structures and organized things well, the algorithms will almost always be selfevident. Data structures, not algorithms, are central to programming. (See Brooks p. 102.) I came to the same conclusion, after a while. In the end code is there to process data. (there is meta programming and things like state machines but most programs do hold data in some kind of structures to be processed) >Simple rule: include files should…
Can anyone who's worked on a well-written, large C project comment on the best way to structure headers and include files? I don't like including stdio.h and stdint.h in every .c and .h file, but it seems like the "standard" way to compile with Makefiles is to compile each .h and .c pair as an object then link them together at the end. So you need the header files to use includes and such in every file or the compiler…
> Simple rule: include files should never include include files. If instead they state (in comments or implicitly) what files they need to have included first, the problem of deciding which files to include is pushed to the user (programmer) but in a way that's easy to handle and that, by construction, avoids multiple inclusions. Multiple inclusions are a bane of systems programming. It's not rare to have files included five or more times to compile a single C source…
The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.
- Breakout years
- 3
- Total points
- 343
- Total comments
- 204
100+ points or 50+ comments
reference only — not used in Hall rules or ranking
reference only — not used in Hall rules or ranking
Every submission
| Date | Title as submitted | By | Points | Comments |
|---|---|---|---|---|
| 2010-11-09 | Rob Pike: Notes on Programming in CFirst breakout | ssp | 122 | 111 |
| 2014-05-11 | Notes on Programming in C (1989) | scapbi | 54 | 51 |
| 2017-01-02 | Notes on Programming in C (Rob Pike) | seertaak | 3 | 0 |
| 2017-03-12 | Notes on Programming in C – Rob Pike (1989)Best thread | mabynogy | 134 | 39 |
| 2025-08-29 | Notes on Programming in C by Rob PikeHall induction · Latest 20+ point return | xelxebar | 30 | 3 |
