Xref: utzoo comp.databases:4665 comp.lang.c:25145 Path: utzoo!utgpu!watserv1!watmath!datanguay From: datanguay@watmath.waterloo.edu (David Adrien Tanguay) Newsgroups: comp.databases,comp.lang.c Subject: Re: How do you name table/structure elements? Message-ID: <33341@watmath.waterloo.edu> Date: 18 Jan 90 01:08:51 GMT References: <1990Jan16.170217.16718@aqdata.uucp> <1990Jan17.194804.15864@utzoo.uucp> Reply-To: datanguay@watmath.waterloo.edu (David Adrien Tanguay) Organization: Software Development Group, U. of Waterloo, Ontario Lines: 19 In article <1990Jan17.194804.15864@utzoo.uucp> henry@utzoo.uucp (Henry Spencer) writes: >In article <1990Jan16.170217.16718@aqdata.uucp> sullivan@aqdata.uucp (Michael T. Sullivan) writes: >> plain descriptive table/structure descriptive >> ----------------- --------------------------- >> name cu_name > >Personally I see no reason for the prefixes any more; I'll go with the >plain descriptive style now. My reason for using the table/structure descriptive style is to help me follow the chain of types in an expression. E.g., expr->n_left->n_type->ty_sym->sy_name Given that I know the prefixes, they make the expression a little more readable for me since the types of the subexpressions can be inferred from the element names. David Tanguay