I don't have a very large sample size for this, but it's been true of every program I've written. One reason it's true is that in practice the things you add aren't random. They're related to things you already have, so can share a lot of the same code.
-
-
Show this thread
-
(The reason I said Legos instead of something more concrete like modules is that in the best case the Legos are of many different types: sometimes modules, sometimes libraries, sometimes language features, sometimes how you represent data.)
Show this thread
End of conversation
New conversation -
-
-
Doesn’t it hold true? Easy to read, defined as per modules, no need to search the code!
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
But how many of those legos will you not reuse? Or will obfuscate the meaning of your code to other developers? The rule of three: its not just a good idea, its the law.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Related hypothesis: we get closer and closer to the Knuth ideal of literate programming as these Legos get smaller and smaller. Express the idea in a succinct, self-documenting structure.https://en.m.wikipedia.org/wiki/Literate_programming …
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
If it were that easy, shouldn’t be have already seen this as an emergent best practice? In my experience, I almost always see a focus on minimizing character count over complicate a codebase. ie., single character variable names.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
#microservices! I've been reading a book about it and it's illuminating how important it is to keep programs as detachable as possible.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Wasn't this the impetus for UML and component based software engineering? Also off topic but I'd like to see literate programming be a thing. Knuth was ahead of his time when it came to that.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Finding the balance between form and content is a universal challenge
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Yes, it makes development faster in long term.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.