comp.lang.ada
 help / color / mirror / Atom feed
From: Natasha Kerensikova <lithiumcat@gmail.com>
Subject: Re: Starter project: getopt_long in Ada
Date: Sun, 27 Nov 2011 12:39:03 +0000 (UTC)
Date: 2011-11-27T12:39:03+00:00	[thread overview]
Message-ID: <slrnjd4bqu.vl6.lithiumcat@sigil.instinctive.eu> (raw)
In-Reply-To: op.v5lh23k4ule2fv@douda-yannick

Hello,

On 2011-11-27, Yannick Duchêne <yannick_duchene@yahoo.fr> wrote:
> “Option_Definitions” may be renamed into “Options_DB”, and parameters  
> named “Options” into “DB” for more clarity. Just a personal feeling, I  
> don't assert anything.

Thanks for the suggestion. I was uncomfortable with Option_Definitions
because I usually use singular nouns for type names. I tried things like
Option_List, but it's not a list in a CS sense.

On the other hand, Options_DB reminds of the wild abbreviations in my C
life. Option_Database maybe?

Or Option_Container? But isn't that a bit too implementation-oriented,
the client probably cares more about the function of the object than
about the kind of stuff that exists inside, so shouldn't the type name
reflect client's point of view?


Thanks for ponting it out,
Natasha



  reply	other threads:[~2011-11-27 12:39 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 [this message]
2011-11-27 14:52     ` Yannick Duchêne (Hibou57)
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