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: 109fba,f292779560fb8442 X-Google-Attributes: gid109fba,public X-Google-Thread: f8c65,30e368bdb3310fe5 X-Google-Attributes: gidf8c65,public X-Google-Thread: 103376,30e368bdb3310fe5 X-Google-Attributes: gid103376,public X-Google-Thread: 1008e3,30e368bdb3310fe5 X-Google-Attributes: gid1008e3,public X-Google-Thread: 10db24,30e368bdb3310fe5 X-Google-Attributes: gid10db24,public X-Google-Thread: 1014db,30e368bdb3310fe5 X-Google-Attributes: gid1014db,public From: jdege@winternet.com (Jeff Dege) Subject: Re: Hungarian notation Date: 1996/05/28 Message-ID: <4of0in$cee@blackice.winternet.com>#1/1 X-Deja-AN: 157154835 references: <31999F43.41C67EA6@scn.de> <4o07o9$rfu@seagoon.newcastle.edu.au> <4o1vo3$p2a@news1.ni.net> <4oehnp$onn@goanna.cs.rmit.EDU.AU> followup-to: comp.lang.ada,comp.lang.c++,comp.lang.c,comp.lang.modula3,comp.lang.modula2,comp.edu,comp.lang.eiffel organization: StarNet Communications, Inc newsgroups: comp.lang.ada,comp.lang.c++,comp.lang.c,comp.lang.modula3,comp.lang.modula2,comp.edu,comp.lang.eiffel Date: 1996-05-28T00:00:00+00:00 List-Id: On 28 May 1996 19:41:13 +1000, Richard A. O'Keefe (ok@goanna.cs.rmit.EDU.AU) wrote: : bobduff@world.std.com (Robert A Duff) writes: : : >Any time you feel the need to write a : >comment, that's a failure of the programming language -- it can't : >express what you need to say. : : I don't know that I agree with this. How can the code make it clear : why you chose *not* to do something? How does the code describe : the space of possible tradeoffs from which you selected this particular : point and why? I find that the more closely I can map the language to the problem, the fewer comments I need. My C++ code is much more sparsely commented than my C code ever was, and I know I'm not the only programmer for whom that is true. I am strongly of the opinion that the best place to document a system is in the code. But do I think that a programming language will ever evolve to the point where no comments are necessary? No, I can't say that I do. -- When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl.