From: Simon Wright <simon@pushface.org>
Subject: Re: Compiling separates with GPS GPL version (Ada 2005 i think)
Date: Fri, 03 Mar 2006 06:20:27 +0000
Date: 2006-03-03T06:20:27+00:00 [thread overview]
Message-ID: <m2fym06od0.fsf@grendel.local> (raw)
In-Reply-To: 3f682$4405ad47$45491254$21922@KNOLOGY.NET
"Marc A. Criley" <mcNOSPAM@mckae.com> writes:
> So, you ask, why even bother having subunits? Precisely! :-) If
> you're using a GNAT compiler, there isn't much point, which is one
> of the reasons why I stopped using them a long time ago.
(a) my ColdFrame (http://coldframe.sf.net/) generates code from a UML
model; it generates subprogram, task and protected type
implementations as separates, so that I don't have to worry about
preserving your code when I recreate the generated stuff.
(b) I find separates handy for eg unit tests, where there's a set of
test cases each of which is quite large (has a number of test
procedures); I've implemented each test case as a package with a
separate body.
I agree with Marc that you need a good reason for using separates (if
nothing else, because of the increased number of files which need CM!)
next prev parent reply other threads:[~2006-03-03 6:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-01 12:37 Compiling separates with GPS GPL version (Ada 2005 i think) stuart clark
2006-03-01 14:19 ` Marc A. Criley
2006-03-01 22:22 ` stuart clark
2006-03-01 22:22 ` stuart clark
2006-03-03 6:20 ` Simon Wright [this message]
2006-03-03 22:24 ` Randy Brukardt
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox