comp.lang.ada
 help / color / mirror / Atom feed
From: Victor Porton <porton@narod.ru>
Subject: Re: Should be in the root package or its child?
Date: Wed, 23 Jul 2014 22:02 +0300
Date: 2014-07-23T22:02:00+03:00	[thread overview]
Message-ID: <lqp0r4$mdh$2@speranza.aioe.org> (raw)
In-Reply-To: lqp0ke$mdh$1@speranza.aioe.org

Victor Porton wrote:

> I am writing thick (object oriented) bindings for Raptor RDF Syntax
> Library (libraptor2).
> 
> Should I put World_Type (used by almost every program which uses my
> library) into the root package of my library or into some its child
> package?
> 
> I think that it depends on the "size" (number of primitive routines,
> roughly saying) associated with World_Type. If it is small, I should keep
> it in the root package, and if it is big to "allocate" a new subunit.
> 
> Other criteria or other opinions?

Some more entities are associated with World_Type:

Flag_Type (an enumeration)
Flag_And_Value (a record)
type Flags_Array is array(Integer range <>) of Flag_And_Value;

-- 
Victor Porton - http://portonvictor.org

  reply	other threads:[~2014-07-23 19:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-23 18:58 Should be in the root package or its child? Victor Porton
2014-07-23 19:02 ` Victor Porton [this message]
2014-07-24  9:06 ` AdaMagica
2014-07-24 16:21   ` Victor Porton
2014-07-25  8:52     ` AdaMagica
2014-07-25 12:20       ` Victor Porton
replies disabled

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