Messages in this thread | | | Date | Mon, 22 Jan 2001 23:56:40 +0000 | From | Anton Altaparmakov <> | Subject | Re: [OT?] Coding Style |
| |
At 16:42 22/01/2001, Mark I Manning IV wrote: >Stephen Satchell wrote: > > I got in the habit of using > > structures to minimize the number of symbols I exposed. It also > > disambiguates local variables and parameters from file- and program-global > > variables. > >explain this one to me, i think it might be usefull...
What might be meant is that instead of declaring variables my_module_var1, my_module_var2, my_module_var3, etc. you declare a struct my_module { var1; var2; var3; etc. }. Obviously in glorious technicolour formatting... (-; That's my interpretation anyway...
Anton
-- "Education is what remains after one has forgotten everything he learned in school." - Albert Einstein -- Anton Altaparmakov Voice: +44-(0)1223-333541(lab) / +44-(0)7712-632205(mobile) Christ's College eMail: AntonA@bigfoot.com / aia21@cam.ac.uk Cambridge CB2 3BU ICQ: 8561279 United Kingdom WWW: http://www-stu.christs.cam.ac.uk/~aia21/
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |