Xref: utzoo comp.software-eng:2562 comp.misc:7525 Path: utzoo!attcan!utgpu!watserv1!watmath!watmsg!sccowan From: sccowan@watmsg.waterloo.edu (S. Crispin Cowan) Newsgroups: comp.software-eng,comp.misc Subject: Re: Coding standards (was Re: Programmer productivity) Message-ID: <32172@watmath.waterloo.edu> Date: 30 Nov 89 19:16:05 GMT References: <34796@regenmeister.uucp> <2226@jato.Jpl.Nasa.Gov> <128179@sun.Eng.Sun.COM> <546@sagpd1.UUCP> <4727@netcom.UUCP> Sender: daemon@watmath.waterloo.edu Reply-To: sccowan@watmsg.waterloo.edu (S. Crispin Cowan) Distribution: na Organization: U. of Waterloo, Ontario Lines: 31 In article <4727@netcom.UUCP> hue@netcom.UUCP (Jonathan Hue ) writes: >>In article dopey@sun.UUCP (Can't ya tell by the name) writes: >>>I would set strict standards that deal with well written programs >>>(e.g. IMHO a. few if any globals, b. one routine per file, c. well >>>documented, etc.). > >(Following assumes programming in C) [good stuff] >At my last job we had a guy that adhered to (b) because he "didn't like >searching around to find out where a function was". I suggested using >tags, but since he used Microsoft Word on a Mac to edit programs (then >he would upload them to a Sun to compile via TOPS - I'm not kidding!) tags >weren't very useful. Because of his strict adherence to (b), and his desire >to keep the number of files down, he would write 700 to 2000 line functions. I would want anyone who produced 2000 line functions fired, unless they had REALLY good reasons, and "I don't like vi" doesn't even come CLOSE to cutting it. >-Jonathan ---------------------------------------------------------------------- Login name: sccowan In real life: S. Crispin Cowan Office: DC3548 x3934 Home phone: 570-2517 Post Awful: 60 Overlea Drive, Kitchener, N2M 1T1 UUCP: watmath!watmsg!sccowan Domain: sccowan@watmsg.waterloo.edu "We have to keep pushing the pendulum so that it doesn't get stuck in the extremes--only the middle is worth having." Orwell, Videobanned -- Kim Kofmel Brought to you by Super Global Mega Corp .com