C struct prefixes stem from historical quirks, not design necessity

mitsuhiko · x · 2026-08-17

The author notes that people often invent elaborate explanations for why things are the way they are, but sometimes they are just due to weird decisions. In C, for instance, people still cargo-cult common prefixes for struct fields to this day, even though they only exist because they used to be global variables.

Original post →

More from coding & agent

coding & agent channel →