home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!know!cass.ma02.bull.com!mips2!news.bbn.com!noc.near.net!nic.umass.edu!caen!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!nucsrl!travis
- From: travis@eecs.nwu.edu (Travis Marlatte)
- Newsgroups: comp.lang.c
- Subject: Re: Productivity of a C programmer ?
- Message-ID: <1992Nov12.230327.8660@eecs.nwu.edu>
- Date: 12 Nov 92 23:03:27 GMT
- References: <1992Nov6.112137.10887@uklirb.informatik.uni-kl.de> <721104893@sheol.UUCP> <572@ulogic.UUCP>
- Organization: Rauland-Borg Corporation, Skokie IL
- Lines: 55
-
- I don't understand the need to look at the source code to establish
- productivity. Actually, I don't understand the need to establish
- productivity at all. It definitely isn't needed to quote future
- projects.
-
- For example, when a hardware engineer creates estimates for a new
- circuit he doesn't say, "I figure its going to have 1500 resistors,
- 1000 capacitors, 150 ICs... therefore based on ohms per hour I should
- have this done in 14.6 man-days."
-
- And when the circuit is complete, other engineers don't evaluate it based
- on the number of compontents. They may evaluate its complexity, but not
- directly its component count. Imagine a manager saying, "We're giving you
- a raise. You deserve it. Last year you completed designs with 1M components.
- Congratulations!"
-
- When a programmer asks me to evaluate his work, I am not immediately
- interested in the source code. I want to first know
-
- - how cleanly does it interact with the other parts of the system.
- - how well it interacts with the user (if any)
- - how does its processing time compare with ideal
- - how does its elapsed processing time fit into the system
- - how much executable space does it consume
- - how much memory does it require worst case
- - what trade-offs were made for code space against time
-
- These are the external characteristics that can be quantified and compared.
- I can compare the results of multiple programmers based on this kind
- of information.
-
- Then I want to look at the code. If it runs close to ideal in a minimal
- amount of code space but the source code is unintelligible, it's garbage
- unless there is a real need for the resulting performance. But if the
- need is there, then speghetti code can be justified (sometimes).
-
- If a programmer cannot provide the above information, then I don't think
- the programmer actually engineered the code. It is more a result of hacking
- together the first idea that had a chance - maybe with improvements done
- after it was once working.
-
- Lines of code and comments only add to readability. They mean nothing
- in terms of productivity. I can take 6 months to engineer an algorithm
- and make it readable in a day.
-
- Why are you all so interested in productivity? If your jobs depend on it,
- then maybe you should find a company that is more interested in real results
- rather than fluff. Can you say 90210? I thought you could.
-
- Travis "The source code fits on the disk so what do I care" Marlatte
-
- --
- Travis Marlatte
- travis@eecs.nwu.edu
- 708-297-0055
-