I always bring up this paper when I read a post criticizing OOP. It's a bit old but still very relevant and practical. In it the concept of information hiding, closely related to encapsulation, was first described. This concept plays a central role in the strategy for effective system modularization and is IMHO the basis of OOP.<p>Shameless plug: A couple of years ago I wrote a post about this paper trying to expand it based on my personal experience and providing a more simpler example to elucidate the concepts presented in it [1]<p>[1] <a href="https://thomasvilhena.com/2020/03/a-strategy-for-effective-system-modularization" rel="nofollow">https://thomasvilhena.com/2020/03/a-strategy-for-effective-s...</a>
Modern analysis of this classic David Parnas paper by Adrian Colyer (in The Morning Paper) here:<p><a href="https://blog.acolyer.org/2016/09/05/on-the-criteria-to-be-used-in-decomposing-systems-into-modules/" rel="nofollow">https://blog.acolyer.org/2016/09/05/on-the-criteria-to-be-us...</a><p>This is the paper known for introducing/elaborating concepts like "modularization" and "information hiding".
> Conclusion<p><pre><code> We have tried to demonstrate by these examples that it is almost always incorrect to begin the decomposition of a system into modules on the basis of a flowchart. We propose instead that one begins with a list of difficult design decisions or design decisions which are likely to change. Each module is then designed to hide such a decision from the others. Since, in most cases, design decisions transcend time of execution, modules will not correspond to steps in the processing. To achieve an efficient implementation we must abandon the assumption that a module is one or more subroutines, and instead allow subroutines and programs to be assembled collections of code from various modules.
</code></pre>
This aligns well with my experience, even if the terminology feels a bit dated.
This also pertains to the much-misunderstood "Single Responsibility" principle. The article argues that modules should encapsulate decisions which may change, i.e shield other modules from effect of such changes. The SRP argues that each module should only encapsulate one such decision.
If you're into short (10 min) video summaries: <a href="https://www.youtube.com/watch?v=NF5tRQb0Dpc" rel="nofollow">https://www.youtube.com/watch?v=NF5tRQb0Dpc</a>
Why are those PDF's so ugly? It would be so much more readable if it was just a regular web page.<p>(And sorry for the negativity since this is a fascinating article. But I'm genuinely curious why the this PDF is so ugly, since I'm sure the original published version looked significantly better, and the text seems to have been OCR'ed)
I really thought there had been a previous submission with more comments, but maybe it was another Parnas paper. The only past submission with comments:<p><a href="https://news.ycombinator.com/item?id=8849468" rel="nofollow">https://news.ycombinator.com/item?id=8849468</a> - Jan 7, 2015 (5 comments)