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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fac41,af40e09e753872c X-Google-Attributes: gidfac41,public X-Google-Thread: 1014db,30e368bdb3310fe5 X-Google-Attributes: gid1014db,public X-Google-Thread: 109fba,f292779560fb8442 X-Google-Attributes: gid109fba,public X-Google-Thread: 10db24,30e368bdb3310fe5 X-Google-Attributes: gid10db24,public X-Google-Thread: 103376,30e368bdb3310fe5 X-Google-Attributes: gid103376,public X-Google-Thread: f8c65,30e368bdb3310fe5 X-Google-Attributes: gidf8c65,public X-Google-Thread: 1008e3,30e368bdb3310fe5 X-Google-Attributes: gid1008e3,public From: dewar@cs.nyu.edu (Robert Dewar) Subject: Re: The Last Word on Comments (was Re: Hungarian notation) Date: 1996/06/18 Message-ID: #1/1 X-Deja-AN: 161541343 references: <31BDA39F.14E4@phidani.be> <1996Jun17.155645.28063@merlin.hgc.edu> organization: Courant Institute of Mathematical Sciences newsgroups: comp.lang.ada,comp.lang.c++,comp.lang.c,comp.lang.modula3,comp.lang.modula2,comp.edu,comp.lang.eiffel Date: 1996-06-18T00:00:00+00:00 List-Id: "Based on previous posts of yours I suspect you didn't think this one all the way through. Comments that describe what the code does without giving away how it does it are hardly trivial or bogus. In fact these are the basis for information hiding and specified public interfaces of classes." I certainly agree with that, when I said "what the code does", I was talking about literal description, but in an earlier post I noted thta comments which describe the what *abstracted to a higher level* are indeed valuable, and can indeed be formalized to a limited extent. Still only to a limited extent .... What does this code do? It examines the data and outputs nice error messages for any inconsistencies This is a *what* type description, but certainly not one that can be formalized in any useful way.