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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!gegeweb.org!news.ecp.fr!news.jacob-sparre.dk!loke.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: a question of form Date: Thu, 28 Aug 2014 14:26:05 -0500 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: References: <8f4fc25e-2039-429c-a5d5-97c450b87078@googlegroups.com> <64f1912b-1a7f-4478-bb47-0e5ed054c1d1@googlegroups.com> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: loke.gir.dk 1409253970 12090 69.95.181.76 (28 Aug 2014 19:26:10 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Thu, 28 Aug 2014 19:26:10 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Xref: news.eternal-september.org comp.lang.ada:21959 Date: 2014-08-28T14:26:05-05:00 List-Id: "Simon Wright" wrote in message news:lyoav4iw91.fsf@pushface.org... > "G.B." writes: > >> On 27.08.14 09:17, AdaMagica wrote: >>> On Wednesday, August 27, 2014 7:00:47 AM UTC+2, Randy Brukardt wrote: >>>> I've always used title capitalization for identifiers. That is, >>>> capitalize them like a title (which is almost, but not quite the >>>> same as Initial_Caps). Thus, Good_and_Bad rather than >>>> Good_And_Bad. This gets me into trouble with the RM, because that >>>> requires capitalizing words that one *never* capitalizes in English. >>> >>> I also like this style, and now I have a name for it. >> >> What will be the most wanted (and least controversial) >> words for title case exception in English and other natural >> languages? >> >> (I'm collecting them for a patch of Ada mode for Emacs, >> which makes Good_and_Bad appear automatically.) > > The concept is quite close to "stop words" -- > http://en.wikipedia.org/wiki/Stop_words > > As it says in the article, not to be confused with safe words :-) Not really. "Stop words" are something that is invented to make search engine performance more tractable (indexing "the" would take a large amount of space and offer little value), while title case is something that is defined by the rules of English writing. The Ada search engine uses a list of 124 stop words (we just called them "non-indexed words", never having heard of the term "stop words" -- a rather nonsensical term in any case, because what do they stop? Nothing, at least in our engine which can match them in quoted strings even though they're not in the index.) The Janus/Ada pretty-printer uses a much shorter list of title words. Randy.