home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.software-eng
- Path: sparky!uunet!stanford.edu!rock!concert!seq!herbst
- From: herbst@seq.uncwil.edu (R.T. Herbst)
- Subject: C Code Layout
- Message-ID: <1992Dec14.193111.20367@seq.uncwil.edu>
- Keywords: C Code
- Organization: Univ. of North Carolina @ Wilmington
- Date: Mon, 14 Dec 1992 19:31:11 GMT
- Lines: 23
-
- From the comments on commenting I ferl that I should
- clarify my background.
- One I spent 25 years a Bell Telephone Laboratories
- Two I was involved in large and small projects.
- Three I am now a professor on mathematical sciences at UNCW.
- four I teach software engineering.
- five I once wrote a 1000 line SAP program for the IBM 704.
- The program had no comments even my name was missing.
- Months later i picked up the listing and asked
- "Who wrote this mess"
- This was a long time ago-- circa 1958.
- I learned my lesson. Comments are essential.
- Comments that obscure the code can make
- reading the code very difficult.
- The code is where the actions is.
- C language permits alongside commenting
- So comment along side the code.
- This allows the code to be continuous.
- Well commented code is needed, but
- Commenting is a small part of the entire process.
- I doubt that there will ever be a agreement on this
- subject. So what.
- herbst@seq.uncwil.edu
-