Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!timbuk!cs.umn.edu!thornley From: thornley@cs.umn.edu (David H. Thornley) Newsgroups: comp.std.c Subject: Re: comment style Message-ID: <1991Jan12.021904.3067@cs.umn.edu> Date: 12 Jan 91 02:19:04 GMT References: <1991Jan04.164355.15674@sco.COM> <613@caslon.cs.arizona.edu> <1050:Jan701:40:4791@kramden.acf.nyu.edu> <616@caslon.cs.arizona.edu> <1991Jan08.192415.3361@grep.co.uk> <628@caslon.cs.arizona.edu> Organization: University of Minnesota, Minneapolis - CSCI Dept. Lines: 38 In article <628@caslon.cs.arizona.edu> dave@cs.arizona.edu (Dave P. Schaumann) writes: >In article <1991Jan08.192415.3361@grep.co.uk> frank@grep.co.uk (Frank Wales) writes: >>>[Referring to the "//" comment indicator, and finding the end of >>> the comment.] >| >|My editor doesn't have a 'search for text in printouts' function. Does yours? > >Actually, I considered this point when I was making the original post. The >reason I decided it wasn't important is that I can't imagine doing any serious >work on a program when only hardcopy is available. (*Surely* there is an >on-line copy somewhere!) My, how things change. I can think of several reasons for working off hardcopy: 1. The large-screen multiple-window terminals are not available for some reason, and you're stuck with a 24-line tube (like I'm using right now). 2. The source was never made available on-line, and you want to look at it without typing it in. 3. The source is available, but not in the right format, or not immediately, or something. 4. You want to sit out under a tree or in bed and consider the code. 5. You aren't doing serious work, and therefore find it annoying to have to search for where the comment ends. 6. You're reading a book, not hacking code. Shall I start the story about writing the multiple-precision arithmetic routines in Z80 assembler on a TRS-80 Mod I (16 line screen) with a four-inch-carriage thermal printer or are you willing to concede that useful work can be done under adverse conditions? DHT