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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,587e0e0a16d65b10 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!r4g2000yqa.googlegroups.com!not-for-mail From: Adam Beneschan Newsgroups: comp.lang.ada Subject: Re: Invade wikipedia! Date: Wed, 25 Feb 2009 14:14:01 -0800 (PST) Organization: http://groups.google.com Message-ID: <28a8f555-cc95-4cea-98d2-b5c01bfc4dc1@r4g2000yqa.googlegroups.com> References: <1tw8gryqdolal$.1osqedj9x821c.dlg@40tude.net> <5c44eaae-631d-46d2-8384-86af79d5e048@n20g2000vba.googlegroups.com> <944a1924-0fa7-487f-a94d-084a2be1b231@v31g2000vbb.googlegroups.com> <9f2553d3-66f5-4708-a237-bfef1d8404f4@v42g2000yqj.googlegroups.com> NNTP-Posting-Host: 66.126.103.122 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1235600041 12459 127.0.0.1 (25 Feb 2009 22:14:01 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 25 Feb 2009 22:14:01 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r4g2000yqa.googlegroups.com; posting-host=66.126.103.122; posting-account=duW0ogkAAABjRdnxgLGXDfna0Gc6XqmQ User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; GTB5; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:4772 Date: 2009-02-25T14:14:01-08:00 List-Id: On Feb 25, 12:05=A0am, Jacob Sparre Andersen wrote: > =A0+ Comments are inherently dangerous (since they are not checked by > =A0 =A0the compiler). I can't sign on to this last one. If I'm maintaining someone else's program and they've written a routine that doesn't work right, I'd much rather have some comments indicating what the other programmer THOUGHT they were accomplishing, than no comments at all. I think I see what you were trying to get at, that comments can mislead a reader into thinking code does something that it doesn't. But if that's the case, removing the comments isn't going to make the code do the right thing, is it? So I fail to see how comments can be "dangerous" in the sense that they could make any situation worse. -- Adam