comp.lang.ada
 help / color / mirror / Atom feed
From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Re: Starter project: getopt_long in Ada
Date: Sun, 27 Nov 2011 15:52:03 +0100
Date: 2011-11-27T15:52:03+01:00	[thread overview]
Message-ID: <op.v5l0w1ztule2fv@douda-yannick> (raw)
In-Reply-To: slrnjd4bqu.vl6.lithiumcat@sigil.instinctive.eu

Le Sun, 27 Nov 2011 13:39:03 +0100, Natasha Kerensikova  
<lithiumcat@gmail.com> a écrit:
> On the other hand, Options_DB reminds of the wild abbreviations in my C
> life. Option_Database maybe?
There is difference between an abbreviation only the writer know what it  
means, and an abbreviation everyone know what it means. If abbreviations  
are uncommon in Ada prose, this is not because Ada users hate  
abbreviations, but because they don't like things others can't read.

DB is a well know word, and every one will read it as Data_Base, except in  
an audio processing application.

Similarly, they is no fear to have to write HTML and not  
Hyper_Text_Markup_Language, which on the opposite, would deserve  
readability. When possible, shorter is better (while the choice of a good  
name, also vary depending on the scope size).

> Or Option_Container? But isn't that a bit too implementation-oriented,
It's up to you, you are the author :) , I just feel you can get ride of  
the word Option in this name, as this is already implied by the package  
name. Not the same for an Option parameter, standing for an option,  
solely. What I like with the word DB here, is that it underline the  
specific role while being short.

But please, keep in mind this is just my feeling.

-- 
“Syntactic sugar causes cancer of the semi-colons.” [1]
“Structured Programming supports the law of the excluded muddle.” [1]
[1]: [Epigrams on Programming — Alan J. — P. Yale University]



  reply	other threads:[~2011-11-27 14:52 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-25 10:47 Starter project: getopt_long in Ada Natasha Kerensikova
2011-11-25 16:39 ` Georg Bauhaus
2011-11-26 18:13   ` Natasha Kerensikova
2011-11-26 20:47     ` Jeffrey Carter
2011-11-28 15:49     ` Georg Bauhaus
2011-11-28 17:18       ` Natasha Kerensikova
2011-11-27  8:21   ` Yannick Duchêne (Hibou57)
2011-11-27 12:30     ` Natasha Kerensikova
2011-11-27 15:11       ` Yannick Duchêne (Hibou57)
2011-11-28  8:21         ` Natasha Kerensikova
2011-11-28 13:02           ` Yannick Duchêne (Hibou57)
2011-11-27  8:05 ` Yannick Duchêne (Hibou57)
2011-11-27 12:39   ` Natasha Kerensikova
2011-11-27 14:52     ` Yannick Duchêne (Hibou57) [this message]
2011-11-27  8:09 ` Yannick Duchêne (Hibou57)
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox