From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: a question of form
Date: Thu, 28 Aug 2014 14:26:05 -0500
Date: 2014-08-28T14:26:05-05:00 [thread overview]
Message-ID: <ltnvoi$bpq$1@loke.gir.dk> (raw)
In-Reply-To: lyoav4iw91.fsf@pushface.org
"Simon Wright" <simon@pushface.org> wrote in message
news:lyoav4iw91.fsf@pushface.org...
> "G.B." <bauhaus@futureapps.invalid> 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.
next prev parent reply other threads:[~2014-08-28 19:26 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-25 20:33 a question of form gdotone
2014-08-25 20:56 ` Simon Clubley
2014-08-25 22:08 ` Ludovic Brenta
2014-08-26 1:06 ` gdotone
2014-08-26 7:04 ` Nasser M. Abbasi
2014-08-26 17:31 ` Jeffrey Carter
2014-08-27 5:00 ` Randy Brukardt
2014-08-27 7:17 ` AdaMagica
2014-08-28 11:56 ` G.B.
2014-08-28 13:23 ` Simon Wright
2014-08-28 14:08 ` G.B.
2014-08-28 19:26 ` Randy Brukardt [this message]
2014-08-28 20:19 ` Simon Wright
2014-08-28 20:48 ` Simon Wright
2014-08-28 18:28 ` Jeffrey Carter
2014-08-28 19:35 ` Randy Brukardt
2014-08-29 11:55 ` G.B.
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox