Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!cs.utexas.edu!rutgers!aramis.rutgers.edu!paul.rutgers.edu!yoko.rutgers.edu!gaynor From: gaynor@yoko.rutgers.edu (Silver) Newsgroups: comp.lang.c Subject: Re: C common practice. Message-ID: Date: 28 Apr 91 03:14:21 GMT References: <21964@lanl.gov> <15904@smoke.brl.mil> <22354@lanl.gov> <15958@smoke.brl.mil> Organization: Rutgers Univ., New Brunswick, N.J. Lines: 13 > Putting each C procedure into a separate file _is_ common practice. It is > promoted as "good" style by C gurus. Skilled C programmers recommend it - > they don't avoid it or condemn it. Can't stand this practice myself and I'd consider myself a skilled C programmer. Makes editing and searching the source too damned cumbersome. Instead, I recommend that you use a logical grouping (I usually do this on the data type and main levels), whatever seems logical to you, and only further break the source down into seperate files for compilation speedups. And annotate such deviations from your grouping conventions in the `currupted' file. My $/50, [Ag] gaynor@paul.rutgers.edu