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=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,cced0e2ac94722f3 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.205.124.10 with SMTP id gm10mr485742bkc.8.1325901059123; Fri, 06 Jan 2012 17:50:59 -0800 (PST) MIME-Version: 1.0 Path: cj8ni63598bkb.0!nntp.google.com!news1.google.com!goblin2!goblin.stu.neva.ru!newsfeed.x-privat.org!news.jacob-sparre.dk!pnx.dk!jacob-sparre.dk!ada-dk.org!.POSTED!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Ada2012 : Expression functions and extended return statements Date: Fri, 6 Jan 2012 19:50:55 -0600 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: References: <26f343ea-d694-4089-b594-f32b471db3a4@m4g2000vbc.googlegroups.com> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: munin.nbi.dk 1325901058 10506 69.95.181.76 (7 Jan 2012 01:50:58 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Sat, 7 Jan 2012 01:50:58 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Date: 2012-01-06T19:50:55-06:00 List-Id: "Martin" wrote in message news:a40448ab-4508-4861-99ae-1a7b63d59f69@ck5g2000vbb.googlegroups.com... On Jan 6, 3:11 pm, "J-P. Rosen" wrote: >[snip] >> In Ada, we favour the reader over the writer, don't we? > >Not necessarily, with the advent of expression functions!! ;-) Huh? An expression function is just a shorthand for writing a simple function; it argubly easier to read because it has less noise. "begin" "end" "return" don't add much information here, and you still can add the whitespace if you think it helps readability. Randy.