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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: "Robert I. Eachus" Newsgroups: comp.lang.ada Subject: Re: "functional" programming in Ada Date: Sun, 11 Mar 2018 20:13:53 -0400 Organization: Aioe.org NNTP Server Message-ID: References: <896b83c6-83d4-4ffc-8c56-1481802ea8fd@googlegroups.com> <961c82e0-7d7e-48af-8751-916a3332ccc5@googlegroups.com> <1520428274.2488.155.camel@obry.net> <48d8c845-589c-4018-9282-73f2b7b8b55b@googlegroups.com> NNTP-Posting-Host: fZYVf2g/avGnWJvs1xVPEA.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 X-Notice: Filtered by postfilter v. 0.8.3 Content-Language: en-US Xref: reader02.eternal-september.org comp.lang.ada:50935 Date: 2018-03-11T20:13:53-04:00 List-Id: On 3/7/2018 11:13 AM, Dan'l Miller wrote: > I mention all of this, so that Ada community is aware of slopes that they might be standing on, so as to not make them slippery, as C++ did. > There was a time when this was well accepted by the Ada community. If you are designing a languages where ease of reading is considered much more important than ease of writing, it is obvious that having two distinct languages not only mixed on the page, but even on the same lines, and requiring the reader to parse potentially many lines to assign tokens to languages is not the way to go. Yes, Ada does have modes, but they can usually be determined by looking at a single reserved word. A sequence of statements begins with begin, and a sequence of declarations begins with declare or is.