Xref: utzoo comp.software-eng:2629 comp.misc:7606 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!motcid!murphyn From: murphyn@cell.mot.COM (Neal P. Murphy) Newsgroups: comp.software-eng,comp.misc Subject: Re: Coding standards (was Re: Programmer productivity) Keywords: One function per file? Message-ID: <509@cherry5.UUCP> Date: 7 Dec 89 14:42:42 GMT References: <34796@regenmeister.uucp> <2226@jato.Jpl.Nasa.Gov> <128179@sun.Eng.Sun.COM> <546@sagpd1.UUCP> <4727@netcom.UUCP> <4290@pegasus.ATT.COM> <9185@hoptoad.uucp> <600@fred.UUCP> Organization: Motorola Inc. - Cellular Infrastructure Div., Arlington Heights, IL 60004 Lines: 22 bill@polygen.uucp (Bill Poitras) writes: >In article <9185@hoptoad.uucp> tim@hoptoad.UUCP (Tim Maroney) writes: >%In article <4290@pegasus.ATT.COM> dmt@pegasus.ATT.COM (Dave Tutelman) writes: >%%... >%%per file". In general, linkers aren't smart enough to link just >%... >%WHAT? What year is this? I don't think I've ever used a linker that >%... >Yes you have. ANY linker you have does this. What you are thinking of is >... Of course, if you want to get into esoterica, you might as well mention the linker/loader on the old TOPS-10 and TOPS-20 O/S from DEC. They would read every module from every object file linked, unless the object file was specified as name.rel/LIB, whereupon it would be treated as a library. Of course, this action requires more memory, ... Strike that, the TOPS-10 compiler ran in 30k words. If I might opine, such selective action usually requires extra thought on the part of linker designers, and if they DGAS (dontgivea...), they don't design it in. NPN