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 X-Received: by 10.182.186.4 with SMTP id fg4mr574745obc.9.1406121696913; Wed, 23 Jul 2014 06:21:36 -0700 (PDT) Path: border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!h18no6087025igc.0!news-out.google.com!cz11ni20763qab.1!nntp.google.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Functions vs constants References: <1967ffbb-4dfc-4fe8-ba60-a32da0fe6620@googlegroups.com> <18igilt89njaa.n3uy7bzna7nx.dlg@40tude.net> Date: Wed, 23 Jul 2014 08:21:34 -0500 Message-ID: <85y4vk2otd.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt) Cancel-Lock: sha1:VFeAoPTXwfhjQw3KGzqCo6/72SM= MIME-Version: 1.0 X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 8e54e53cfb6e0eef2f4a305619 X-Received-Bytes: 1238 X-Received-Body-CRC: 1943750428 Content-Type: text/plain Xref: number.nntp.dca.giganews.com comp.lang.ada:187804 Date: 2014-07-23T08:21:34-05:00 List-Id: "Randy Brukardt" writes: > One could even imagine a radical solution of having no constants at all, as > parameterless expression functions would serve the purpose just as well. > (Too radical, I think, as the syntax of an expression function would be too > verbose for the use.) What would happen if we changed the definition of a constant declaration to be syntax sugar for the equivalant parameterless expression function? -- -- Stephe