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 16:48:47 +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 14:48:48 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="724ba1d0c42922dbc479e1e9e12e0018"; logging-data="22200"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Vurb6m6jFa5VfxijfqErAviQy6aWidEw=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 Cancel-Lock: sha1:BRAxxtoPNcDu9Xwy70mLT4BHTFY= In-Reply-To: <0956f152-7902-47cb-98e2-c6e5ba68b6b5@googlegroups.com> Content-Language: en-US Xref: reader02.eternal-september.org comp.lang.ada:54441 Date: 2018-09-27T16:48:47+02:00 List-Id: On 09/27/2018 04:24 PM, NiGHTS wrote: > > Any thoughts on this? In my experience, good code organization is a product of design. High-level design identifies high-level S/W entities (usually packages). Next-level design identifies next-level S/W entities inside the top-level entities (often private child pkgs), and so on. If you start coding before that, it's difficult to retrofit a good organization to the code. -- Jeff Carter "Many times we're given rhymes that are quite unsingable." Monty Python and the Holy Grail 57