From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: Code organization Date: Thu, 27 Sep 2018 21:49:06 +0200 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <0956f152-7902-47cb-98e2-c6e5ba68b6b5@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 27 Sep 2018 19:49:11 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="3086257ac1a42284800b7bed4b2e903d"; logging-data="16077"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+tWZraa9PaHsHWZZA4Xee/amUxrIOCxzo=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 Cancel-Lock: sha1:lX6+GJM3DAW9Slubxhx9fbQSI1w= In-Reply-To: Content-Language: en-US Xref: reader02.eternal-september.org comp.lang.ada:54452 Date: 2018-09-27T21:49:06+02:00 List-Id: On 09/27/2018 05:09 PM, NiGHTS wrote: > > Then you get into the coding and realize Ada doesn't exactly agree with your organization strategy and imposes some design constraints, particularly with a heavily multi-threaded project. This is kind of how it worked out for me. Once Ada forced me into nesting what would have otherwise been living in other packages, my ambitions for file organization went down the drain. And it didn't help that I was on strict deadline by this point in time. This has not been an issue for me. A basic principle for me is to avoid writing executable code for as long as possible (though I write specs as soon as possible). On tool I use for this is subunits ("separate"), which you are investigating in other posts, so perhaps we reached similar destinations by different paths. -- Jeff Carter "You cheesy lot of second-hand electric donkey-bottom biters." Monty Python & the Holy Grail 14