Path: utzoo!mnetor!tmsoft!torsqnt!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!ux1.cso.uiuc.edu!ux1.cso.uiuc.edu!phil From: phil@ux1.cso.uiuc.edu (Phil Howard KA9WGN) Newsgroups: comp.lang.c Subject: questionnaire Message-ID: <1990Jan12.022039.15799@ux1.cso.uiuc.edu> Date: 12 Jan 90 02:20:39 GMT Sender: phil@ux1.cso.uiuc.edu (Phil Howard KA9WGN) Reply-To: phil@ux1.cso.uiuc.edu (Phil Howard KA9WGN) Organization: University of Illinois at Urbana-Champaign Lines: 22 I would like to find out from some different people what kinds of decisions you typically make, and how you might make them regarding: 1. Whether or not to use "typedef" for a "struct" a. how do you deal with the case of two different struct types having pointers to the other type? 2. When you decide to separate structures into header files a. how big must the program be to warrant this? b. do you always do so? c. never? 3. Making functions used (in many places) only by your program extern a. what if only one program calls this function? 4. Do you consider passing a "pointer to a function" to another function which will (blindly?) use it to call that function, a "kosher" programming practice? -- --Phil Howard, KA9WGN--