The UNIX file interface example

9 views
Skip to first unread message

Meir Goldenberg

unread,
Jan 13, 2026, 11:31:35 AM (2 days ago) Jan 13
to software-d...@googlegroups.com

Hi John,

I'd like to make sure I fully understand the implications of your point about the UNIX file interface consisting of five function signatures that hide on the order of 100K lines of code. In particular, was this meant to suggest that the UNIX developers did not subscribe to the guideline of keeping individual function implementations below a fixed small number of lines?

Thank you,
Meir

John Ousterhout

unread,
Jan 13, 2026, 1:00:04 PM (2 days ago) Jan 13
to Meir Goldenberg, software-d...@googlegroups.com
Hi Meir,

No, those five functions are not necessarily large themselves. The total amount of code in those functions and all of the ones they invoke (transitively) sums to hundreds of thousands of lines; this doesn't say anything one way or the other about the sizes of individual functions.

-John-

--
You received this message because you are subscribed to the Google Groups "software-design-book" group.
To unsubscribe from this group and stop receiving emails from it, send an email to software-design-...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/software-design-book/CAP1Du3W7z7fppAh%3DGuTfOTd-LuDOSWKUJB55Bk%2B9HUaQdyyqgQ%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages