From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,f292779560fb8442 X-Google-Attributes: gid109fba,public X-Google-Thread: fac41,af40e09e753872c X-Google-Attributes: gidfac41,public X-Google-Thread: f8c65,30e368bdb3310fe5 X-Google-Attributes: gidf8c65,public X-Google-Thread: 10db24,30e368bdb3310fe5 X-Google-Attributes: gid10db24,public X-Google-Thread: 1014db,30e368bdb3310fe5 X-Google-Attributes: gid1014db,public X-Google-Thread: 1008e3,30e368bdb3310fe5 X-Google-Attributes: gid1008e3,public X-Google-Thread: 103376,30e368bdb3310fe5 X-Google-Attributes: gid103376,public From: seebs@solutions.solon.com (Peter Seebach) Subject: Re: The Last Word on Comments (was Re: Hungarian notation) Date: 1996/07/12 Message-ID: <4s5mpj$2pp@solutions.solon.com>#1/1 X-Deja-AN: 167993565 references: <31bf6e29.185297643@netline-fddi.jpl.nasa.gov> <4s3397$9ih@nntp.seflin.lib.fl.us> <4s4gbf$5fm@news.ld.centuryinter.net> organization: Usenet Fact Police (Undercover) reply-to: seebs@solon.com newsgroups: comp.lang.ada,comp.lang.c++,comp.lang.c,comp.lang.modula3,comp.lang.modula2,comp.edu,comp.lang.eiffel Date: 1996-07-12T00:00:00+00:00 List-Id: In article <4s4gbf$5fm@news.ld.centuryinter.net>, wrote: >Come on. What "apparent authority of comments"? Even newbies know >that comments do not affect program behavior. I would contest this. I've seen empty programs handed in, because the only way to get the compiler to accept the code was to put everything in comments. (Well, I haven't, but my coworker who used to teach has.) I would agree that *most* newbies know that comments do not affet program behavior. >The long, drawn-out mental blocks punctuated by periods of >conceptual slippage and turbulance one goes through in these types of >situations will *never* be matched by a mere comment. And yes, even >working code can induce this most interesting affect. I think this is one of the reasons the IOCCC survives; it *is* an interesting effect, and it can be enjoyable, if it's not affecting something you need to have working. I think the common fascination with code which looks very different from what it does is the moral equivalent of punning; the same sorts of people seem to like it. (It also makes for great April Fools' jokes. You should see the responses I got to a posted program containing scanf, "3", "%d", i; ...) -s -- Peter Seebach - seebs@solon.com - Copyright 1996 - http://www.solon.com/~seebs Unix/C Wizard - send mail for help, or send money for consulting! The *other* C FAQ, the hacker FAQ, et al. See web page above. Unsolicited email (junk mail and ads) is unwelcome, and will be billed for.