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: border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.ecngs.de!ecngs!feeder2.ecngs.de!212.27.60.7.MISMATCH!feeder1-1.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Sun, 11 Aug 2013 09:12:25 +0200 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: 4 beginner's questions on the PL Ada References: <87ob96ajv6.fsf@VLAN-3434.student.uu.se> <03ea570b-e45f-4694-ab9b-3413c4770379@googlegroups.com> <878v0aee8i.fsf@VLAN-3434.student.uu.se> <87txiycxx9.fsf@VLAN-3434.student.uu.se> <2531ecb1-4ac0-404a-8229-3110d4268374@googlegroups.com> <87mwoqbao2.fsf@VLAN-3434.student.uu.se> <878v0977q2.fsf@VLAN-3434.student.uu.se> <8738qhnq2j.fsf@VLAN-3434.student.uu.se> In-Reply-To: <8738qhnq2j.fsf@VLAN-3434.student.uu.se> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <52073957$0$6555$9b4e6d93@newsspool4.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 11 Aug 2013 09:12:23 CEST NNTP-Posting-Host: 313137ea.newsspool4.arcor-online.net X-Trace: DXC=4GAb>F=3VRcPKPPVf; 4hUj4IUKejVhBRmZVK=SAUha7i^D_ On 11.08.13 00:23, Emanuel Berg wrote: > Dennis Lee Bieber writes: > >> And that description is rather meaningless to me... >> >> C-style for loops pretty much mandate breaking apart into parts >> as they ARE so generic. > > Yes, I think it is clear by now that we prefer to describe things > in different ways. > >> Code is IMPLEMENTATION... > > OK, then what is not? Modelling? Drawing UML diagrams on > whiteboards? Or keeping it in your head, but still doing it in > stages? Programming, a human activity, produces code manifesting the human activity. The two words don't denote the same thing, even when quick use of language unhelpfully dismisses the difference as pedantic. Expressing ideas is part of writing a program; understanding ideas is part of reading a program, one hopes. Both human activities do not depend on that single, exemplary program's code, though: Since different codes can express the same idea, typically there isn't just one code for every idea. Some ideas are so general that a single example will not capture all of it, whereas words might: "Better not terminate a master if dependent tasks might still be doing some work." Then, a single example will depict one of the many possible situations in which the above sentence applies, and the reader may or may not find its code helpful for understanding the idea. task body Foo -- ... begin accept Hit; ... -- more work end Foo; -- In a master, -- make sure that a dependent Foo is given a chance to run to -- completion, i.e. do its work. E.g., call an entry that comes -- after "more work" above.