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> Enable all warnings! The trouble I've run into with that is different compilers have different warnings, sometimes they are mutually contradictory, so it is not possible to have portable code that doesn't trigger warnings in one compiler or another. I.e. the general problem with warnings is the language gets balkanized into multiple competing and incompatible dialects. What should happen is to carefully examine the warnings, and adopt the best into the language Standard as errors. For example: if (a…
I tend to disagree that RAII is used only used for memory. We've RAII wrappers for locks, file handles etc. all the time in our code base. Also it's impractical to only have POD structs i.e. structs with no pointer pointing to the free store. Good otherwise. Nice colours and theming though :)
> Wrap your structs in a typedef I tend to disagree. Unless you are providing an API for third-party use and want to make your data types opaque to callers, do not ever use typedef with structs and pointers. A declaration like "struct foo *f" tells you two things - f itself is a pointer, and the pointed-to value is not a scalar (i.e. has named members). The "_t" suffix idiom is predominantly used by the standard library for integral…
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
- 2
- Total points
- 425
- Total comments
- 285
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 |
|---|---|---|---|---|
| 2019-09-27 | Modern C for C++ PeepsFirst breakout | jahaja | 102 | 16 |
| 2021-05-26 | Modern C for C++ Peeps (2019) | signa11 | 94 | 21 |
| 2023-01-07 | Modern C for C++ PeepsBest thread · Latest 20+ point return | AlexeyBrin | 229 | 248 |
