home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.ada
- Path: sparky!uunet!stanford.edu!leland.Stanford.EDU!fanaraaken.Stanford.EDU!vera
- From: vera@fanaraaken.Stanford.EDU (James S. Vera)
- Subject: Re: Play 20K expressions again, Sam
- Message-ID: <vera.715572375@fanaraaken.Stanford.EDU>
- Sender: news@leland.Stanford.EDU (Mr News)
- Organization: Program Analysis and Verification Group, Stanford University
- References: <9208281536.AA01868@ajpo.sei.cmu.edu>
- Date: 4 Sep 92 02:06:15 GMT
- Lines: 39
-
- byrley@NTSC-RD.NAVY.MIL ("Paul Byrley") writes:
-
-
- >My opinion is that if a person is hanging together large amounts of
- >code and will support it himself forever (promises not to quit or die
- >before his employer ceases to need the software), then 20K
- >expressions is ok. (Does one expression = one LOC or are we talking
- >one expression = LOC/4 to LOC/8?) If a taxpayer (even a federal
- >research grant comes from taxpayers) is going to have to pay extra for
- >the indulgence of a 20K expression programmer, then I thank Verdix
- >for their choice. Actually I wish it were lower. I remember, years ago,
- >learning that the reason my latest FORTRAN "gem" was not compiling
- >was that I had overrun the compiler tables- that program was about
- >1000 LOC and I was briefly indignant also. Yeah Sam, that was half
- >a box of cards, red ones and blue ones and even green ones, with a
- >diagonal magic marker across the top so you could maybe recover
- >when someone dropped them.
-
- Not to flame Mr. Byrley but the above seems to fit so well into the my
- sterotype of Ada ("please constrain me yet another way") I had to
- laugh. Geez, were talking machine generated code here. I probably
- shouldn't tell you about the extensive use of goto my parr of a
- transformer uses :-)
-
- As for the relation of LOC and expression, I'm not sure, depends on
- the code, but keep in mind subexpression count as well, i.e.,
-
- i := j + k +l
-
-
- has 6 expressions.
-
- Regardless, LOC limits are for style guides, not compilers.
-
- James S. Vera | Internet |Standard Disclaimers
- Stanford University| vera@anna.stanford.edu |Blah Blah Blah Blah
- +1.415.723.1089 | FAX +1.415.725.7398 |
-
-
-