From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Fri, 1 Apr 2005 22:54:36 -0500 From: Russ Cox To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] OT: programming style under Plan9?? In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: Topicbox-Message-UUID: 3148b3a4-ead0-11e9-9d60-3106f5b1d025 > I have observed that that the Plan9 C-code generally > consists fo ALL modules of a program are in the same file. I don't think this is true at all. Sure it's true of /sys/src/cmd/*.c, but that's the directory that contains all the one-file programs, and most of them are tiny enough that splitting them up would just be annoying (there are exceptions). But there are plenty of programs that are split into separately compiled pieces, both in the sense of libraries and just multiple files for different pieces (look in /sys/src/cmd/acme for example). I split my programs into pieces that make it easier for me to think about. If that happens to coincide with what some people call modules, great, and if it doesn't, well too bad for them. Russ