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, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e94a7e4f6f888766 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Self-referential types Date: 1999/10/21 Message-ID: <7untko$js0$1@nnrp1.deja.com>#1/1 X-Deja-AN: 538869829 References: <7ttb4a$8mq$1@nnrp1.deja.com> <3802f2db_2@news1.prserv.net> <3803B5E3.F96A6DD4@mitre.org> <3803c8bc_2@news1.prserv.net> <3804E7E0.6A0265FB@mitre.org> <38077EB3.E6911567@mitre.org> <380CA5AC.82499FE2@ftw.rsc.raytheon.com> <7um9ji$dor$1@nnrp1.deja.com> <7un1me$6jm$1@wanadoo.fr> X-Http-Proxy: 1.0 x25.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Thu Oct 21 20:38:48 1999 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-10-21T00:00:00+00:00 List-Id: In article <7un1me$6jm$1@wanadoo.fr>, "Jean-Pierre Rosen" wrote: > LL : Natural ; -- this is the line length > > in favour of the (comment-less): > Line_Length : Natural; Yes, but I am guessing that in context I would not like EITHER of these alternatives, instead probably what is needed is something like: Line_Length : Natural; -- This is the length of the current line, not including the -- terminating control characters. It is set each time a new -- command is processed, and reflects the length of the command -- after stripping trailing spaces. Well the details will vary, but you get the idea, comments very often need to express far more detail than can be contained in a reasonable length name. If anything, the name Line_Length is more dangerous than LL in this regard, since it can seduce the programmer into thinking that documentation is not required. I actually prefer a rule that says that comments should be independent of names. Yes, that might lead to overcommenting in some rare instances, but that's a disease that I can put up with much better than the serious epidemic of under commenting :-) Sent via Deja.com http://www.deja.com/ Before you buy.