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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,a92e43963a6b930f X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nntp.club.cc.cmu.edu!feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!not-for-mail From: "Nasser M. Abbasi" Newsgroups: comp.lang.ada Subject: Re: N best things about Ada? Date: Tue, 13 Jul 2010 12:26:39 -0700 Organization: Aioe.org NNTP Server Message-ID: References: <97691fd2-7411-4ccc-bc7b-290aca633cd5@z30g2000prg.googlegroups.com> <4C3CB90E.70602@obry.net> Reply-To: nma@12000.org NNTP-Posting-Host: c00eBs/j4mUkprxQFmXQpg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 Xref: g2news1.google.com comp.lang.ada:12400 Date: 2010-07-13T12:26:39-07:00 List-Id: On 7/13/2010 12:05 PM, Pascal Obry wrote: > > 6. Great readability (e.g., begin/end instead of curly braces) > fyi, the new kid on the block (F#) has done away all together of the curly braces and begin. Like Python as well. These languages use space indentation as part of the logic of the program. The idea is that less "clutter" improves readability. From MS web site om F# "The lightweight syntax is shorter and uses indentation to signal the beginning and end of constructs, rather than additional keywords like begin, end, in, and so on" From Python web site: "Python functions have no explicit begin or end, and no curly braces to mark where the function code starts and stops." I am still not sure which is better. Using an explicit BEGIN END or space indentation. --Nasser