home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!uwm.edu!zaphod.mps.ohio-state.edu!ub!rutgers!rochester!rit!moscom!jmp
- From: jmp@moscom.com (Joe Palumbos)
- Newsgroups: alt.usage.english
- Subject: Re: Comments in source code
- Message-ID: <4815@moscom.com>
- Date: 29 Dec 92 18:31:58 GMT
- References: <1992Dec29.060209.17732@g2syd.genasys.com.au>
- Organization: Moscom Corp., E. Rochester, NY
- Lines: 34
- X-Newsreader: TIN [version 1.3 beta PL7]
-
- Robert Swan (roberts@g2syd.genasys.com.au) wrote:
- :
- : [....]
- : However, in the newer code, comments tend to be complete sentences and
- : (here's the part that interests me) speak in terms of the 1st person
- : plural ... `We need to get the filename', `We can't proceed unless it's
- : the right type'. [....]
- :
- : Who are `we'. Me and my program? Me and the other programmers?
- : The royal we (since I am creator of the universe in my program,
- : I suppose I could put on royal airs)?
- :
- : Has anyone else noticed anything similar? Or am I just losing my
- : marbles?
- :
-
-
- For the last 16 years (i.e. since I've been programming), I've done
- this also, and never stopped to think who I mean by 'we', until now.
-
- In my mind, I am writing the comments for the benefit of either the next
- person to maintain the code, or for myself, after I've forgotten what
- the hell I was doing the first time around. Even in the latter case,
- I may as well be a different person anyway, since in either case, I
- don't know what the author had in his head at the time he wrote the
- code.
-
- Therefore, when I write 'we', I am referring to both of us: Me, the
- author, and the kind person in the future, looking at my code.
-
- -regards, from both of us.
-
- --
- Joe Palumbos jmp@moscom.com {rit,tropix,ur-valhalla}!moscom!jmp
-