Subj : Re: "File Scope" objects To : comp.programming,comp.software-eng From : Steve O'Hara-Smith Date : Sat Aug 27 2005 11:42 pm On Sat, 27 Aug 2005 05:21:16 GMT Randy Howard wrote: > Steve O'Hara-Smith wrote > (in article <20050826223257.6ac8ce9c.steveo@eircom.net>): > > > On Fri, 26 Aug 2005 19:23:42 GMT > > Randy Howard wrote: > > > >> Chris Sonnack wrote > >> (in article ): > >> > >>> Phlip writes: > >> > >>>>> Having not unrecently read someone speak very much in favor of > >>>>> file scope objects, I'd be interested in a little round-about > >>>>> on the matter,... > >> > >>>> Give everything the most restricted scope possible. > >> > >>> Absolutely. And when several functions in one module share the > >>> same datum? > >> > >> Pass 13 parameters to every function of course. :-) > > > > Put them in a struct and pass a pointer to it - see X-Windows > > sources for examples. > > I'm aware. Figures. > You might have noticed the smiley, and decided that I wasn't > being serious, but rather very sarcastic. I did but it looked like someone in the thread (I'm not too sure that the attributions are all there anymore) wasn't aware. -- C:>WIN | Directable Mirror Arrays The computer obeys and wins. | A better way to focus the sun You lose and Bill collects. | licences available see | http://www.sohara.org/ .