Software architecture is presented as a record of past trade-offs, not a catalog of mistakes. Two-digit years saved costly storage when memory was extraordinarily expensive, though falling prices made the eventual Y2K conversion bill enormous. IPv4’s limited address space led to NAT as a temporary workaround that persists decades later; Unicode’s initial two-byte limit led to surrogate pairs, while UTF-16 remains widespread. These choices made sense under the constraints of their time, but changing prices and needs left their consequences in place. The account also warns that familiar explanations can be unreliable: for example, C’s zero-terminated strings were not simply a memory-saving trick, and some claims about database normalization and short Unix commands lack evidence.
The broader argument is that each era’s architecture reflects whatever resource is scarcest: first machine time and memory, then programmers’ expertise, team communication, and operational uptime. Modularity and information hiding spent extra machine resources to save people’s time; microservices helped organizations manage teams and pursue reliability. But copying an architecture without inheriting the scarcity it addressed can create needless complexity. Segment, Istio, and Prime Video all consolidated systems after finding that service boundaries or infrastructure choices imposed costs that outweighed their benefits. The author’s own AI-assisted app follows the same logic: agents make code cheap, while human attention and review remain scarce, so a simple stack and centralized rules reduce the burden of checking.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.