<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/simple-is-not-small-7islldgxo" -->

---
title: simple is not small | daily.dev
description: An essay arguing that 'simple' and 'small' are distinct qualities in software design, using Rich Hickey's definition of simplicity as 'lack of...
canonical: https://daily.dev/posts/simple-is-not-small-7islldgxo
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: simple is not small | daily.dev
og:description: An essay arguing that 'simple' and 'small' are distinct qualities in software design, using Rich Hickey's definition of simplicity as 'lack of...
og:url: https://daily.dev/posts/simple-is-not-small-7islldgxo
og:image: https://api.daily.dev/og/posts/7islLDGXo.png
og:image:alt: simple is not small
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# simple is not small

**[Lobsters](https://daily.dev/sources/lobsters)** · 9 min read · 0 upvotes · 0 comments

## Summary

An essay arguing that 'simple' and 'small' are distinct qualities in software design, using Rich Hickey's definition of simplicity as 'lack of braiding/coupling.' Unix pipelines are held up as small but not simple, since sort|uniq -c couples aggregation to ordering, making certain changes (like preserving file order) painful compared to an equivalent Clojure program. A Rust struct-versus-map example shows how structs couple type-checking to fixed data representation, while Clojure and Malli decouple type annotation from data representation. The author argues programs should always strive for simplicity (low coupling) regardless of size, while smallness is a resource-constrained tradeoff, not an inherent virtue.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://jyn.dev/simple-is-not-the-same-as-small>

## Questions this post answers

### why is it hard to preserve original word order when counting word frequencies with a unix pipeline using sort and uniq -c

Because sort | uniq -c couples aggregation to ordering: uniq only detects repeated lines if they are adjacent, so the input must be sorted first, which destroys the original order. Recovering the original order then requires temp files, regexes, sorts, and joins in bash, whereas a Clojure version can keep a separate word sequence and frequency map without that coupling.

_Developers untangling shell pipeline quirks like this compare approaches and gotchas on daily.dev._

### what is the difference between a struct and a map in rust in terms of type checking and runtime information

A Rust struct couples type-checking to a fixed data representation: fields are known at compile time so you can access them directly, but you lose the ability to iterate over fields at runtime without writing a proc-macro. A map lets you iterate freely at runtime, but you lose static field guarantees and must call unwrap() to access values, since the type checker doesn't know what keys exist.

_Engineers weighing structs against maps for flexibility versus safety follow language design tradeoffs like this on daily.dev._

## Community take

How the wider developer community reacted, aggregated from 2 discussions and 14 comments across lobsters, hackernews (as of 2026-09-04).

**TL;DR:** Discussion largely agrees that conflating simplicity with smallness is a mistake worth naming, but several commenters push back on the claim that programs should always favor simplicity, arguing coupling can trade off usefully against performance, reliability, and efficiency.

**Sentiment:** 30% positive · 55% mixed · 15% skeptical

**The case for**

- Several people affirm the core distinction between simplicity (low coupling) and smallness as a genuinely useful and underappreciated framing.
- One commenter notes building large, robust, decoupled software is extremely hard and time-consuming, validating the essay's difficulty framing.

**The pushback**

- Commenters argue coupling can be a deliberate, valuable tradeoff for reliability, performance, and predictable resource use, not just an unavoidable cost.
- One commenter says the essay unfairly presents Rust's macro-based struct iteration as bad while praising similar macro use in Racket/Lisp, ignoring Rust's efficiency-focused design goals.
- Another commenter warns that heavy decoupling can itself introduce harmful indirection and poor abstractions, making code harder to read.

**By community**

- lobsters (mixed): Appreciation for the simplicity/smallness distinction is tempered by substantive pushback on the 'always prefer simplicity' claim and the Rust struct critique, alongside a tangential thread about Janet's static typing efforts.
- hackernews (positive): The lone comment praises the essay's examples and connects it to the difficulty of building large, well-abstracted software versus small vibe-coded scripts.

**Hottest debate:** Whether programs should always strive for low coupling, or whether coupling is sometimes a worthwhile tradeoff for performance, reliability, or efficiency.

**Open questions**

- How does one keep a dynamic, feature-flag-capable program simple while still controlling its complexity?
- Can compiler optimization ever let Lisp-style decoupled designs match the efficiency of Rust's tightly coupled struct approach?

**Highlights**

> 100% agree on the conflation people often make between simplicity and smallness. But this point feels off: > The answer to "when should your program be simple?" is: always. There is very little advantage to introducing coupling to parts of your program; it makes it harder for you as a developer to maintain the program, and is less flexible for your users. Maybe I'm misreading the intent here, but even if we consider the same level of user-facing functionality, complexity can buy lots of things: 1. Reliability & ability to response to incidents: Generally subsystems added for monitoring, tracing etc. add more complexity to the program. E.g. you could have a dashboard somewhere and an SLO alert coupled to some strings in the code. 2. Performance: Coupling layers can increase performance by removing the need for intermediate structures. As an extreme example, TigerBeetle uses the same Transfer type as part of both its wire format and its on-disk format. 3. Lower/more predictable resource utilization: Restrictions on resources require different parts of the program to cooperate on how much of the resource they use at a given time. To name a few.
> — [typesanitizer on lobsters · 1 points, 1 comments](https://lobste.rs/s/entcaa/simple_is_not_small#c_ngw7vp)

> I comment on the section "Decoupling" from the perspective of my main programming languages being Rust and Lisp(s). > Typed Racket does a similar trick, but using macros so that the type checking happens at compile time instead of runtime. The author seems to regard Racket's ability to add typing with macros favorably — as would I (although I find Typed Racket, though admirable, neither small nor simple). > If you want to iterate a struct['s fields in Rust] ... get fucked? write a proc-macro? This, however, seems to be presented unfavorably — but why? In practice, one would not write a macro to do that but rather use one as a library. In Racket, one can give a struct static typing through macros — good, right? In Rust, one can give a struct iterability through macros (even if less sophisticated macros than Racket's). From a Lisp perspective, I don't see that as too bad. The article does not seem to make any argument for the notion that using macros to allow iterating over a struct's fields is somehow bad, even as it seems to present in a favorable light *Lisps'* ability to use macros to implement in libraries what otherwise might be language features. It almost seems to be saying "In Lisps, one gets to use macros to implement what otherwise might be language features, yay! In Rust, one has to use macros to implement what otherwise might be language features, ugh!", with no explanation for this seemingly discrepant attitude towards these two cases. Furthermore, the article seems to give no consideration to Rust's *reasons* for making different choices from Clojure and Racket, and seems to ignore the different priorities and intents of the languages' design. Rust's choices here — including integration (tight coupling) of static typing into the language, and not emitting in the executable file, by default, the information necessary to iterate over a struct — are (among other things) choices in favor of (time- and space-)efficiency by default. Sufficient effort in compiler optimization (both human effort writing a compiler and compiler effort optimizing a program) might be able to bring all three languages to equal efficiency, but Rust chooses to start from a more efficient baseline. The Lisps surely gain things by focussing less on efficiency than Rust, but it *is* a trade-off. I feel as though the article both too quickly dismisses Rust's macros and seems to present the Lisps' choices here as simply better than Rust's without considering the trade-offs involved and the languages' different priorities.
> — [5d22b on lobsters · 1 points](https://lobste.rs/s/entcaa/simple_is_not_small#c_mnpwet)

> I feel these are almost incidental things related to the production deployment of a program rather than its core use. Jyn does concede that *"Being small makes sense […when] you're Brian Kernighan and your program is running on a literal PDP-11 […]"*, though they do not outright acknowledge the tradeoff here. It would be better to say that these are competing forces. If UNIX is simple-complex and Jyn's CI example is big-simpler then your example of instrumentation would land somewhere around... big-(slightly more complex). Dynamic changes (like feature flags) could be more expensive, which brings us to the delightful prompt of: how do I make my program dynamic while keeping its complexity under control. Simple is not easy, comes to mind.
> — [mei on lobsters · 1 points](https://lobste.rs/s/entcaa/simple_is_not_small#c_b1glu2)

> Hmm, I like the concept of this post but I’ve seen some simple programs become complex with heavy decoupling. Specifically decoupling has a tendency to cause indirection and poor abstractions, both of which can cause a program hard to read and navigate.
> — [erock on lobsters · 1 points](https://lobste.rs/s/entcaa/simple_is_not_small#c_bpmrcm)

> Great piece, very straightforward examples, although I did have to squint for quite a while to grok the Closure portion. I am currently building a piece of very modular software and it has been the hardest-to-design project of my entire career.  I would never be allotted this amount of time-effort at any job I have held to make something this robust and clearly defined.  Many aspects of this project have taken 3-5 rounds trying-and-trashing to get an abstraction that is uncomplicated. This is precisely why vibe coding is so successful for building tiny isolated scripts, and so disastrous for anything else.  It's just really dang hard to build something large and simple.
> — [hankbond on hackernews](https://news.ycombinator.com/item?id=49559564)

**Source threads**

- [lobsters](https://lobste.rs/s/entcaa/simple_is_not_small) · 50 points · 12 comments
- [hackernews](https://news.ycombinator.com/item?id=49558685) · 4 points · 2 comments

## Similar posts on daily.dev

- [I Thought Working Code Was Good Enough. I Was Wrong.](https://daily.dev/posts/i-thought-working-code-was-good-enough-i-was-wrong--sht2vtiff) · Medium · 0 upvotes · 0 comments
- [some software talks i like](https://daily.dev/posts/some-software-talks-i-like-cjsrtjsuv) · Lobsters · 1 upvotes · 0 comments
- [Back to Coupling and Cohesion](https://daily.dev/posts/back-to-coupling-and-cohesion-mey4bh3qy) · Programming Digest · 3 upvotes · 2 comments
- [From Jungle to Microservices: Why Our Software is as Complicated as Our Lives](https://daily.dev/posts/from-jungle-to-microservices-why-our-software-is-as-complicated-as-our-lives-w4hc7ec7h) · We Are .NET · 25 upvotes · 0 comments

---

Tags: [#general-programming](https://daily.dev/tags/general-programming), [#rust](https://daily.dev/tags/rust), [#clojure](https://daily.dev/tags/clojure)

[View this post on daily.dev](https://daily.dev/posts/simple-is-not-small-7islldgxo)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"simple is not small","url":"https://daily.dev/posts/simple-is-not-small-7islldgxo","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/simple-is-not-small-7islldgxo"},"datePublished":"2026-09-04T05:12:58.868Z","dateModified":"2026-09-04T17:33:06.582Z","description":"An essay arguing that 'simple' and 'small' are distinct qualities in software design, using Rich Hickey's definition of simplicity as 'lack of...","image":"https://media.daily.dev/image/upload/s--2-1xRawN--/f_auto/v1722860399/public/Placeholder%2011","thumbnailUrl":"https://media.daily.dev/image/upload/s--2-1xRawN--/f_auto/v1722860399/public/Placeholder%2011","isAccessibleForFree":true,"articleSection":"Lobsters","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Lobsters","logo":"https://media.daily.dev/image/upload/s--tl8v_Fku--/f_auto,t_logo/v1698841318/logos/lobste.jpg","url":"https://daily.dev/sources/lobsters"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/simple-is-not-small-7islldgxo","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"general-programming,rust,clojure","timeRequired":"PT9M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Lobsters","item":"https://daily.dev/sources/lobsters"},{"@type":"ListItem","position":3,"name":"simple is not small"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/simple-is-not-small-7islldgxo#faq","mainEntity":[{"@type":"Question","name":"why is it hard to preserve original word order when counting word frequencies with a unix pipeline using sort and uniq -c","acceptedAnswer":{"@type":"Answer","text":"Because sort | uniq -c couples aggregation to ordering: uniq only detects repeated lines if they are adjacent, so the input must be sorted first, which destroys the original order. Recovering the original order then requires temp files, regexes, sorts, and joins in bash, whereas a Clojure version can keep a separate word sequence and frequency map without that coupling. Developers untangling shell pipeline quirks like this compare approaches and gotchas on daily.dev."}},{"@type":"Question","name":"what is the difference between a struct and a map in rust in terms of type checking and runtime information","acceptedAnswer":{"@type":"Answer","text":"A Rust struct couples type-checking to a fixed data representation: fields are known at compile time so you can access them directly, but you lose the ability to iterate over fields at runtime without writing a proc-macro. A map lets you iterate freely at runtime, but you lose static field guarantees and must call unwrap() to access values, since the type checker doesn't know what keys exist. Engineers weighing structs against maps for flexibility versus safety follow language design tradeoffs like this on daily.dev."}}]}
```

