4 ms·
Complexity fills the space it's given
- CRConrad 2y agoRelated: https://news.ycombinator.com/item?id=40711661 https://news.ycombinator.com/item?id=40711661
- houl 2y agoSpace and time ... "work expands so as to fill the time available for its completion" https://en.wikipedia.org/wiki/Parkinson%27s_law https://en.wikipedia.org/wiki/Parkinson%27s_law
- teekert 2y agoAt least complexity seems bounded, Bureaucracy, in contrast, expands to meet the growing needs of the Bureaucracy.
- hiAndrewQuinn 2y ago>There is no such thing as a small legacy codebase Very true. As a followup, I think it's worth pointing out that CLI applications in particular can cram a lot of functionality into very few LOC. Last night, I read through the source code for `cat` (yes, that `cat`) and it was only about 800 lines of fairly breezy C: https://github.com/coreutils/coreutils/blob/master/src/cat.c https://github.com/coreutils/coreutils/blob/master/src/cat.c And a tiny CLI tool I use every day, several times a day, for learning Finnish, is about 200 lines of Python: https://github.com/hiAndrewQuinn/finstem https://github.com/hiAndrewQuinn/finstem
- CRConrad 2y ago> for learning Finnish Jos tarvitset apua, niin heittää viesti.
- hiAndrewQuinn 2y agoKiitos paljon, saatan!
- marcosdumay 2y agoThe command line is an absolutely amazing standard where a lot of hard things are just solved by the underlining layers in a way that is both very simple to use and very flexible. As the article said, some times a complicated problem has a simple genial solution.
- mrblampo 2y agoThanks, I enjoyed this and it rings true. This abstract concept of "space" getting filled up thoughtlessly, and that "space" being created by unnecessarily breaking things up into smaller parts that don't really need to be separate, makes a lot of sense and I think I've seen this happen. The article stops short of proposing a clear plan for how to handle the opposite problem, though: Entrenched monoliths. Once a class (or other abstraction) has grown for long enough (e.g. perhaps someone has read this article and is trying to avoid unnecessary complexity of code structure), it can become very difficult to break it up.
- alexpetralia 2y agohttps://en.wikipedia.org/wiki/Space-filling_curve https://en.wikipedia.org/wiki/Space-filling_curve
- deleted 2y ago[deleted]
- osigurdson 2y ago> Whether that’s a huge monolith or 124 tiny REST APIs makes very little difference.) A huge spaghetti monolith is much better than a huge spaghetti collection of micro services.